summaryrefslogtreecommitdiff
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-05-28 18:47:01 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2022-06-01 17:07:29 +0300
commita78b6afa9913890e92aede1c17e72dec7e528549 (patch)
treeb1c19560232e7435aef085e3111102c87f6424d1 /scripts/link-vmlinux.sh
parentf6b66ca4f38b1169313383aec7fa0a8446205ebb (diff)
downloadlinux-a78b6afa9913890e92aede1c17e72dec7e528549.tar.xz
kbuild: remove redundant cleanups in scripts/link-vmlinux.sh
These are cleaned by the top Makefile. vmlinux.o and .vmlinux.d matches the '*.[aios]' and '.*.d' patterns respectively. 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.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index 68e4be463a76..1c0af7288b79 100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -309,8 +309,6 @@ cleanup()
rm -f System.map
rm -f vmlinux
rm -f vmlinux.map
- rm -f vmlinux.o
- rm -f .vmlinux.d
rm -f .vmlinux.objs
rm -f .vmlinux.export.c
}