From: Wei Liu Date: Thu, 23 Feb 2017 18:28:02 +0000 (+0000) Subject: xl: generate _paths.h X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~2668 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6bf1a62484d054b3873015d6814387b6106340dc;p=xen.git xl: generate _paths.h It is included by xl.h. Previously it was using _paths.h from some other place. We'd better generate one for xl as well. Signed-off-by: Wei Liu Acked-by: Ian Jackson --- diff --git a/.gitignore b/.gitignore index 557b38e1b2..3713b1e2a6 100644 --- a/.gitignore +++ b/.gitignore @@ -380,6 +380,7 @@ tools/firmware/etherboot/ipxe/ tools/python/xen/lowlevel/xl/_pyxl_types.c tools/python/xen/lowlevel/xl/_pyxl_types.h tools/xenstore/xenstore-watch +tools/xl/_paths.h tools/xl/xl docs/txt/misc/*.txt diff --git a/tools/xl/Makefile b/tools/xl/Makefile index 32dff40584..7106009d66 100644 --- a/tools/xl/Makefile +++ b/tools/xl/Makefile @@ -20,6 +20,11 @@ $(XL_OBJS): CFLAGS += $(CFLAGS_libxentoollog) $(XL_OBJS): CFLAGS += $(CFLAGS_XL) $(XL_OBJS): CFLAGS += -include $(XEN_ROOT)/tools/config.h # libxl_json.h needs it. +genpath-target = $(call buildmakevars2header,_paths.h) +$(eval $(genpath-target)) + +$(XL_OBJS): _paths.h + .PHONY: all all: xl @@ -35,7 +40,7 @@ install: all .PHONY: clean clean: - $(RM) -f *.o xl $(DEPS) + $(RM) -f *.o xl _paths.h $(DEPS) distclean: clean