xen: delete gcno files in clean target
authorWei Liu <wei.liu2@citrix.com>
Mon, 3 Oct 2016 17:33:16 +0000 (18:33 +0100)
committerWei Liu <wei.liu2@citrix.com>
Sat, 3 Dec 2016 15:55:34 +0000 (15:55 +0000)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/Makefile

index ddac7e0f9fee078093b23d616fe42bff40ecb777..dc6862e04dcf4d1df8a94c98497f1e463b6210fa 100644 (file)
@@ -118,7 +118,7 @@ _clean: delete-unfresh-files
        $(MAKE) -f $(BASEDIR)/Rules.mk -C arch/$(TARGET_ARCH) 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" \) -exec rm -f {} \;
+       find . \( -name "*.o" -o -name ".*.d" -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