aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 860224d7cbcf..96b32e5bb973 100644
--- a/Makefile
+++ b/Makefile
@@ -1151,7 +1151,7 @@ CLEAN_FILES += vmlinux System.map \
1151MRPROPER_DIRS += include/config usr/include include/generated 1151MRPROPER_DIRS += include/config usr/include include/generated
1152MRPROPER_FILES += .config .config.old .version .old_version \ 1152MRPROPER_FILES += .config .config.old .version .old_version \
1153 include/linux/version.h \ 1153 include/linux/version.h \
1154 Module.symvers Module.markers tags TAGS cscope* 1154 Module.symvers tags TAGS cscope*
1155 1155
1156# clean - Delete most, but leave enough to build external modules 1156# clean - Delete most, but leave enough to build external modules
1157# 1157#
@@ -1170,7 +1170,7 @@ clean: archclean $(clean-dirs)
1170 \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ 1170 \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
1171 -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ 1171 -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
1172 -o -name '*.symtypes' -o -name 'modules.order' \ 1172 -o -name '*.symtypes' -o -name 'modules.order' \
1173 -o -name 'Module.markers' -o -name '.tmp_*.o.*' \ 1173 -o -name '.tmp_*.o.*' \
1174 -o -name '*.gcno' \) -type f -print | xargs rm -f 1174 -o -name '*.gcno' \) -type f -print | xargs rm -f
1175 1175
1176# mrproper - Delete all generated files, including .config 1176# mrproper - Delete all generated files, including .config
@@ -1368,7 +1368,6 @@ $(clean-dirs):
1368 1368
1369clean: rm-dirs := $(MODVERDIR) 1369clean: rm-dirs := $(MODVERDIR)
1370clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers \ 1370clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers \
1371 $(KBUILD_EXTMOD)/Module.markers \
1372 $(KBUILD_EXTMOD)/modules.order 1371 $(KBUILD_EXTMOD)/modules.order
1373clean: $(clean-dirs) 1372clean: $(clean-dirs)
1374 $(call cmd,rmdirs) 1373 $(call cmd,rmdirs)