[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] tools/include: fix (drop) dependencies of when to populate xen/
commit 47654a0d7320cf5011db7d4d19e0463ea1b2ce32 Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Wed Oct 14 14:01:25 2020 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Wed Oct 14 14:01:25 2020 +0200 tools/include: fix (drop) dependencies of when to populate xen/ Making the population of xen/ depend on the time stamps of a subset of the headers put there is error prone. The creation of a few dozen symlinks doesn't take a meaningful amount of time (compared to the overall building of tools/), and hence - to be on the safe side - should simply be done always. Convert the goal to a phony one and drop its dependencies, effectively taking further what 8d8d7d6b3dc1 ("tools: fix linking hypervisor includes to tools include directory") had already attempted. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Tested-by: Bertrand Marquis <bertrand.marquis@xxxxxxx> Acked-by: Wei Liu <wl@xxxxxxx> --- tools/include/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/include/Makefile b/tools/include/Makefile index 35623cd70a..ca4464bcc5 100644 --- a/tools/include/Makefile +++ b/tools/include/Makefile @@ -4,8 +4,8 @@ include $(XEN_ROOT)/tools/Rules.mk # Relative to $(XEN_ROOT)/xen/xsm/flask FLASK_H_DEPEND := policy/initial_sids -.PHONY: all all-y build -all build: all-y xen-foreign xen/.dir xen-xsm/.dir +.PHONY: all all-y build xen-dir +all build: all-y xen-foreign xen-dir xen-xsm/.dir all-y: .PHONY: xen-foreign @@ -15,7 +15,7 @@ xen-foreign: XEN_PUBLIC_INCLUDES = $(wildcard $(XEN_ROOT)/xen/include/public/*.h) XEN_LIB_X86_INCLUDES = $(filter-out %autogen.h, $(XEN_ROOT)/xen/include/xen/lib/x86/Makefile $(wildcard $(XEN_ROOT)/xen/include/xen/lib/x86/*.h)) -xen/.dir: $(XEN_PUBLIC_INCLUDES) $(XEN_LIB_X86_INCLUDES) +xen-dir: @rm -rf xen acpi mkdir -p xen/libelf acpi ln -sf $(XEN_ROOT)/xen/include/public/COPYING xen @@ -33,9 +33,8 @@ ifeq ($(CONFIG_X86),y) ln -sf $(XEN_ROOT)/xen/include/xen/lib/x86/$$f xen/lib/x86/$$f; \ done endif - touch $@ -all-$(CONFIG_X86): xen/.dir +all-$(CONFIG_X86): xen-dir $(MAKE) -C xen/lib/x86 all XEN_ROOT=$(XEN_ROOT) PYTHON=$(PYTHON) # Not xen/xsm as that clashes with link to -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |