diff mbox series

[v2] xen/build: remove unneeded enumeration in clean-files of xen/include/Makefile

Message ID 20220712091007.13595-1-jgross@suse.com (mailing list archive)
State New, archived
Headers show
Series [v2] xen/build: remove unneeded enumeration in clean-files of xen/include/Makefile | expand

Commit Message

Jürgen Groß July 12, 2022, 9:10 a.m. UTC
Enumerating a file from $(targets) in $(clean-files) isn't needed.

Remove hypercall-defs.h and headers*.chk from $(clean-files) in
xen/include/Makefile.

Reported-by: Jan Beulich <jbeulich@suse.com>
Fixes: eca1f00d0227 ("xen: generate hypercall interface related code")
Signed-off-by: Juergen Gross <jgross@suse.com>
---
V2:
- remove headers*.chk from clean-files, too (Anthony Perard)
---
 xen/include/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Anthony PERARD July 12, 2022, 12:49 p.m. UTC | #1
On Tue, Jul 12, 2022 at 11:10:07AM +0200, Juergen Gross wrote:
> Enumerating a file from $(targets) in $(clean-files) isn't needed.
> 
> Remove hypercall-defs.h and headers*.chk from $(clean-files) in
> xen/include/Makefile.
> 
> Reported-by: Jan Beulich <jbeulich@suse.com>
> Fixes: eca1f00d0227 ("xen: generate hypercall interface related code")
> Signed-off-by: Juergen Gross <jgross@suse.com>
> ---
> V2:
> - remove headers*.chk from clean-files, too (Anthony Perard)

Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>

Thanks,
diff mbox series

Patch

diff --git a/xen/include/Makefile b/xen/include/Makefile
index 39d9f5556c..65d61fc7f4 100644
--- a/xen/include/Makefile
+++ b/xen/include/Makefile
@@ -224,5 +224,5 @@  lib-x86-all:
 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 := compat config generated xen/lib/x86/cpuid-autogen.h
+clean-files += hypercall-defs.i