Commit 6b36ab27 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Sam Ravnborg

kbuild: make clean removes *.o.* as well

Those are left presumably from aborted ccache(1) compilations:


BTW, with git there is nice way to check for such nuisainces:

	make mrproper
	git-ls-files -o

should give empty output.

More precise wildcard spec from: Jan Engelhardt <>
Signed-off-by: default avatarAlexey Dobriyan <>
Signed-off-by: default avatarSam Ravnborg <>
Cc: Jan Engelhardt <>
parent 7712401a
......@@ -1160,7 +1160,7 @@ clean: archclean $(clean-dirs)
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
-o -name '*.symtypes' -o -name 'modules.order' \
-o -name 'Module.markers' \) \
-o -name 'Module.markers' -o -name '.tmp_*.o.*' \) \
-type f -print | xargs rm -f
# mrproper - Delete all generated files, including .config
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment