xen/build: remove unneeded enumeration in clean-files
PATCH 1/1 xen/build: remove unneeded enumeration in clean-files
Enumerating a file from $(targets) in $(clean-files) isn't needed.
Remove xen/include/xen/hypercall-defs.h from $(clean-files).
Reported-by Jan Beulich <[email protected]>
Fixes eca1f00d0227 ("xen: generate hypercall interface related code")
Signed-off-by Juergen Gross <[email protected]>
--- xen/include/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/Makefile +1 -1
@@ -225,4 +225,4 @@ all: lib-x86-all endif clean-files := compat config generated headers*.chk xen/lib/x86/cpuid-autogen.h -clean-files += xen/hypercall-defs.h hypercall-defs.i +clean-files += hypercall-defs.i
Signature · 1 line
2.35.3
Quoted 16 lines · Juergen Gross
Enumerating a file from $(targets) in $(clean-files) isn't needed.
Remove
xen/include/xen/hypercall-defs.hfrom $(clean-files).Reported-by Jan Beulich <[email protected]>Fixes eca1f00d0227 ("xen: generate hypercall interface related code")Signed-off-by Juergen Gross <[email protected]>--- xen/include/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)xen/include/Makefile +0
-0
xen/include/Makefile all: lib-x86-all · line 228
Quoted 5 lines
xen/include/Makefile +1
-1@@ -225,4 +225,4 @@ all: lib-x86-all endif clean-files := compat config generated headers*.chk xen/lib/x86/cpuid-autogen.h -clean-files += xen/hypercall-defs.h hypercall-defs.i +clean-files += hypercall-defs.i
The patch title is a bit too broad and only correct a recent patch. It doesn't really matter I think if rm -f tries to remove the same file twice, but maybe this patch should actually do what it is explained in the description ;-).
There is also "headers*.chk" that is listed in both $(targets) and $(clean-files) which could be unlisted from the latter as well.
Thanks,
Signature · 1 line
Anthony PERARD