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

[xen staging] build: clean common temporary files from root makefile



commit 9e319e5258d0274c15da2ea9355dc1569a0fa832
Author:     Anthony PERARD <anthony.perard@xxxxxxxxxx>
AuthorDate: Wed Oct 13 17:51:12 2021 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Oct 13 17:51:12 2021 +0200

    build: clean common temporary files from root makefile
    
    Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
    Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 xen/Makefile               | 1 +
 xen/scripts/Makefile.clean | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/xen/Makefile b/xen/Makefile
index 5d01101662..a3189eb47c 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -379,6 +379,7 @@ _clean: delete-unfresh-files
        $(MAKE) $(clean) test
        $(MAKE) $(kconfig) clean
        find . \( -name "*.o" -o -name ".*.d" -o -name ".*.d2" \
+               -o -name ".*.o.tmp" -o -name "*~" -o -name "core" \
                -o -name "*.gcno" -o -name ".*.cmd" -o -name "lib.a" \) -exec 
rm -f {} \;
        rm -f include/asm $(TARGET) $(TARGET).gz $(TARGET).efi 
$(TARGET).efi.map $(TARGET)-syms $(TARGET)-syms.map *~ core
        rm -f asm-offsets.s include/asm-*/asm-offsets.h
diff --git a/xen/scripts/Makefile.clean b/xen/scripts/Makefile.clean
index 027c200c0e..8582ec35e4 100644
--- a/xen/scripts/Makefile.clean
+++ b/xen/scripts/Makefile.clean
@@ -14,10 +14,8 @@ include Makefile
 subdir-all := $(subdir-y) $(subdir-n) $(subdir-) \
               $(patsubst %/,%, $(filter %/, $(obj-y) $(obj-n) $(obj-)))
 
-DEPS_RM = $(DEPS) $(DEPS_INCLUDE)
 .PHONY: clean
-clean:: $(subdir-all)
-       rm -f *.o .*.o.tmp *~ core $(DEPS_RM)
+clean:: $(subdir-all) ;
 
 # Descending
 # ---------------------------------------------------------------------------
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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