kbuild: clean .tmp_* pattern by make clean
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 28 May 2022 15:47:02 +0000 (00:47 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 4 Jun 2022 21:20:57 +0000 (06:20 +0900)
commitb0d6207bad2cb5a6f2099ac4a6ea4e76864dd596
tree9fc83a3d9036e03d31170c9f7b1f0a0ed77ca414
parenta78b6afa9913890e92aede1c17e72dec7e528549
kbuild: clean .tmp_* pattern by make clean

Change the "make clean" rule to remove all the .tmp_* files.

.tmp_objdiff is the only exception, which should be removed by
"make mrproper".

Rename the record directory of objdiff, .tmp_objdiff to .objdiff to
avoid the removal by "make clean".

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # LLVM-14 (x86-64)
Makefile
scripts/link-vmlinux.sh
scripts/objdiff