summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-05-28 17:47:01 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2022-06-01 16:07:29 +0200
commita78b6afa9913890e92aede1c17e72dec7e528549 (patch)
treeb1c19560232e7435aef085e3111102c87f6424d1 /scripts
parentkbuild: rebuild multi-object modules when objtool is updated (diff)
downloadlinux-a78b6afa9913890e92aede1c17e72dec7e528549.tar.xz
linux-a78b6afa9913890e92aede1c17e72dec7e528549.zip
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')
-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
}