diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1151,7 +1151,7 @@ CLEAN_FILES += vmlinux System.map \ | |||
1151 | MRPROPER_DIRS += include/config usr/include include/generated | 1151 | MRPROPER_DIRS += include/config usr/include include/generated |
1152 | MRPROPER_FILES += .config .config.old .version .old_version \ | 1152 | MRPROPER_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 | ||
1369 | clean: rm-dirs := $(MODVERDIR) | 1369 | clean: rm-dirs := $(MODVERDIR) |
1370 | clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers \ | 1370 | clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers \ |
1371 | $(KBUILD_EXTMOD)/Module.markers \ | ||
1372 | $(KBUILD_EXTMOD)/modules.order | 1371 | $(KBUILD_EXTMOD)/modules.order |
1373 | clean: $(clean-dirs) | 1372 | clean: $(clean-dirs) |
1374 | $(call cmd,rmdirs) | 1373 | $(call cmd,rmdirs) |