summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-06-07 01:47:09 +0400
committerSam Ravnborg <sam@ravnborg.org>2008-07-25 22:12:17 +0200
commit6b36ab27d7161bc233e014ff38d8b17ae9975dee (patch)
treea330da3151bbc2e7a2cc535aa37f78bac9d85c8d /Makefile
parent7712401ae9006fc9d9b9a3e7861dc73781429a89 (diff)
downloadkernel-common-6b36ab27d7161bc233e014ff38d8b17ae9975dee.tar.gz
kernel-common-6b36ab27d7161bc233e014ff38d8b17ae9975dee.tar.bz2
kernel-common-6b36ab27d7161bc233e014ff38d8b17ae9975dee.zip
kbuild: make clean removes *.o.* as well
Those are left presumably from aborted ccache(1) compilations: arch/x86/kernel/.tmp_io_apic_64.o.T5veul arch/x86/kvm/.tmp_x86.o.SZWn69 arch/x86/mm/.tmp_pgtable.o.sL1LTf drivers/ieee1394/.tmp_ieee1394_transactions.o.bUj6o1 drivers/infiniband/hw/mlx4/.tmp_main.o.vy0ep6 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 <jengelh@medozas.de> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2f0136401ba0..3f0a3ca5be8f 100644
--- a/Makefile
+++ b/Makefile
@@ -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