From: Daniel Kiper Date: Tue, 19 Jun 2018 13:51:00 +0000 (+0200) Subject: build: remove stray .*.d2 files during clean/distclean X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3732 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c329e625408051b1e8152ad6c024825cda9f7602;p=xen.git 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 Acked-by: Jan Beulich --- 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