summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-16 19:49:13 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-23 17:12:05 +0300
commitef46d9b3dc01d49a060a56337466832c4f1f1792 (patch)
tree648fbffdb4985a6fee85453b1bb05f0c3e039ca9
parentebaad7d36406d951159f43038a843edece1b7877 (diff)
downloadlinux-ef46d9b3dc01d49a060a56337466832c4f1f1792.tar.xz
kbuild: clean up *.i and *.lst patterns by make clean
*.i and *.lst are supported by the single target build. Clean up them. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b6515e00df21..60753f2a477b 100644
--- a/Makefile
+++ b/Makefile
@@ -1547,9 +1547,9 @@ clean: $(clean-dirs)
$(call cmd,rmdirs)
$(call cmd,rmfiles)
@find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \
- \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
+ \( -name '*.[aios]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '*.ko.*' -o -name '*.dtb' -o -name '*.dtb.S' \
- -o -name '*.dwo' \
+ -o -name '*.dwo' -o -name '*.lst' \
-o -name '*.su' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
-o -name '*.symtypes' -o -name 'modules.order' \