@@ -1076,8 +1076,6 @@ MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
extra_certificates signing_key.x509.keyid \
signing_key.x509.signer
-CLEAN_FILES += .*.dwo
-
# clean - Delete most, but leave enough to build external modules
#
clean: rm-dirs := $(CLEAN_DIRS)
@@ -1324,6 +1322,7 @@ clean: $(clean-dirs)
@find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '*.ko.*' \
+ -o -name '*.dwo' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
-o -name '*.symtypes' -o -name 'modules.order' \
-o -name modules.builtin -o -name '.tmp_*.o.*' \
Finally, git doesn't know about the .dwo files, so I am wondering if
.gitignore should be updated, too:
@@ -17,6 +17,7 @@
*.ko
*.so
*.so.dbg
+*.dwo
*.mod.c
*.i
*.lst