From: Jan Beulich Date: Mon, 25 Jul 2022 13:46:21 +0000 (+0200) Subject: include: correct re-building conditions around hypercall-defs.h X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~386 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f1c719d5cd8ab4d5d4c8df139b9df3c2c47221d1;p=xen.git include: correct re-building conditions around hypercall-defs.h For a .cmd file to be picked up, the respective target needs to be listed in $(targets). This wasn't the case for hypercall-defs.i, leading to permanent re-building even on an entirely unchanged tree (because of the command apparently having changed). In exchange the target doesn't need naming in $(clean-files) anymore. Fixes: eca1f00d0227 ("xen: generate hypercall interface related code") Signed-off-by: Jan Beulich Reviewed-by: Anthony PERARD --- diff --git a/xen/include/Makefile b/xen/include/Makefile index 65d61fc7f4..65be310eca 100644 --- a/xen/include/Makefile +++ b/xen/include/Makefile @@ -114,7 +114,7 @@ all: $(obj)/xen/hypercall-defs.h $(obj)/xen/hypercall-defs.h: $(obj)/hypercall-defs.i $(srctree)/scripts/gen_hypercall.awk FORCE $(call if_changed,genhyp) -targets += xen/hypercall-defs.h +targets += hypercall-defs.i xen/hypercall-defs.h ifeq ($(XEN_TARGET_ARCH),$(XEN_COMPILE_ARCH)) @@ -225,4 +225,3 @@ all: lib-x86-all endif clean-files := compat config generated xen/lib/x86/cpuid-autogen.h -clean-files += hypercall-defs.i