summaryrefslogtreecommitdiffstats
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-05-28 17:47:02 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2022-06-04 23:20:57 +0200
commitb0d6207bad2cb5a6f2099ac4a6ea4e76864dd596 (patch)
tree9fc83a3d9036e03d31170c9f7b1f0a0ed77ca414 /scripts/link-vmlinux.sh
parentkbuild: remove redundant cleanups in scripts/link-vmlinux.sh (diff)
downloadlinux-b0d6207bad2cb5a6f2099ac4a6ea4e76864dd596.tar.xz
linux-b0d6207bad2cb5a6f2099ac4a6ea4e76864dd596.zip
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)
Diffstat (limited to 'scripts/link-vmlinux.sh')
-rwxr-xr-xscripts/link-vmlinux.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index 1c0af7288b79..3f51b08cc203 100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -303,9 +303,6 @@ sorttable()
cleanup()
{
rm -f .btf.*
- rm -f .tmp_System.map
- rm -f .tmp_initcalls.lds
- rm -f .tmp_vmlinux*
rm -f System.map
rm -f vmlinux
rm -f vmlinux.map