Skip to content

Commit 6b36ab2

Browse files
Alexey Dobriyansravnborg
authored andcommitted
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>
1 parent 7712401 commit 6b36ab2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ clean: archclean $(clean-dirs)
11601160
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
11611161
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
11621162
-o -name '*.symtypes' -o -name 'modules.order' \
1163-
-o -name 'Module.markers' \) \
1163+
-o -name 'Module.markers' -o -name '.tmp_*.o.*' \) \
11641164
-type f -print | xargs rm -f
11651165

11661166
# mrproper - Delete all generated files, including .config

0 commit comments

Comments
 (0)