[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] include: correct re-building conditions around hypercall-defs.h



commit f1c719d5cd8ab4d5d4c8df139b9df3c2c47221d1
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Mon Jul 25 15:46:21 2022 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jul 25 15:46:21 2022 +0200

    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 <jbeulich@xxxxxxxx>
    Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
 xen/include/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.