From: Andrew Cooper Date: Tue, 17 Sep 2019 18:30:05 +0000 (+0100) Subject: tools/libs: Fix build following c/s 56dccee3f, take 2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=20fdbb1b076d2ca79771dd7ec98ddd593bdece1d;p=people%2Flarsk%2Fxen.git tools/libs: Fix build following c/s 56dccee3f, take 2 The fix for c/s 01ba8f62b618 was speculative given no local repro. It turns out that it didn't fix the problem. The $(AUTOINCS) variable needs to be visible before libs.mk is included, to have any effect. Signed-off-by: Andrew Cooper Acked-by: Ian Jackson --- diff --git a/tools/libs/toolcore/Makefile b/tools/libs/toolcore/Makefile index edce61dca4..9c5a92d93f 100644 --- a/tools/libs/toolcore/Makefile +++ b/tools/libs/toolcore/Makefile @@ -4,6 +4,7 @@ include $(XEN_ROOT)/tools/Rules.mk MAJOR = 1 MINOR = 0 LIBNAME := toolcore +AUTOINCS := include/_xentoolcore_list.h SRCS-y += handlereg.c @@ -11,8 +12,6 @@ include $(XEN_ROOT)/tools/libs/libs.mk $(PKG_CONFIG_LOCAL): PKG_CONFIG_INCDIR = $(XEN_LIBXENTOOLCORE)/include -AUTOINCS=include/_xentoolcore_list.h - $(LIB_OBJS): $(AUTOINCS) $(PIC_OBJS): $(AUTOINCS)