kbuild: remove redundant cleanups in scripts/link-vmlinux.sh
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 28 May 2022 15:47:01 +0000 (00:47 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 1 Jun 2022 14:07:29 +0000 (23:07 +0900)
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)
scripts/link-vmlinux.sh

index 68e4be4..1c0af72 100755 (executable)
@@ -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
 }