diff mbox

[2/5] Makefile: clean .gcov files

Message ID 20090904012811.3749.77259.sendpatchset@localhost.localdomain (mailing list archive)
State New, archived
Headers show

Commit Message

Amerigo Wang Sept. 4, 2009, 1:25 a.m. UTC
Clean *.gcov files when "make clean".

Signed-off-by: WANG Cong <amwang@redhat.com>

---
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: linux-2.6/Makefile
===================================================================
--- linux-2.6.orig/Makefile
+++ linux-2.6/Makefile
@@ -1218,7 +1218,8 @@  clean: archclean $(clean-dirs)
 		-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
 		-o -name '*.symtypes' -o -name 'modules.order' \
 		-o -name 'Module.markers' -o -name '.tmp_*.o.*' \
-		-o -name '*.gcno' \) -type f -print | xargs rm -f
+		-o -name '*.gcno' -o -name '*.gcov' \) \
+		-type f -print | xargs rm -f
 
 # mrproper - Delete all generated files, including .config
 #