]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
tools/libs: Fix build following c/s 56dccee3f, take 2
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Sep 2019 18:30:05 +0000 (19:30 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Sep 2019 18:42:27 +0000 (19:42 +0100)
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 <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libs/toolcore/Makefile

index edce61dca49d2e9ea53722c0b44a948659d498dd..9c5a92d93ff3ba685eeb66b008b6df2d941cbc06 100644 (file)
@@ -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)