[xen master] build: remove stray .*.d2 files during clean/distclean

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] build: remove stray .*.d2 files during clean/distclean

patchbot
commit c329e625408051b1e8152ad6c024825cda9f7602
Author:     Daniel Kiper <[hidden email]>
AuthorDate: Tue Jun 19 15:51:00 2018 +0200
Commit:     Jan Beulich <[hidden email]>
CommitDate: Thu Jun 28 09:28:14 2018 +0200

    build: remove stray .*.d2 files during clean/distclean
   
    Otherwise e.g. xen/..xen-syms.0.o.d2 and xen/..xen-syms.1.o.d2 files
    stay untouched because they are not listed in DEPS_RM variable.
   
    Signed-off-by: Daniel Kiper <[hidden email]>
    Acked-by: Jan Beulich <[hidden email]>
---
 xen/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/Makefile b/xen/Makefile
index abbf1d70ff..a321962fd0 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -119,7 +119,7 @@ _clean: delete-unfresh-files
  $(MAKE) -f $(BASEDIR)/Rules.mk -C arch/x86 clean
  $(MAKE) -f $(BASEDIR)/Rules.mk -C test clean
  $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) clean
- find . \( -name "*.o" -o -name ".*.d" -o -name "*.gcno" \) -exec rm -f {} \;
+ find . \( -name "*.o" -o -name ".*.d" -o -name ".*.d2" -o -name "*.gcno" \) -exec rm -f {} \;
  rm -f include/asm $(TARGET) $(TARGET).gz $(TARGET).efi $(TARGET).efi.map $(TARGET)-syms $(TARGET)-syms.map *~ core
  rm -f include/asm-*/asm-offsets.h
  rm -f .banner
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog