kbuild: Don't remove link-vmlinux temporary files on exit/signal
authorAndi Kleen <ak@linux.intel.com>
Wed, 5 May 2021 03:35:27 +0000 (20:35 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 5 May 2021 17:16:41 +0000 (02:16 +0900)
commit51eb95e2da41802454f48b9afeb4d96a77295035
tree5d32d093beb0762368583812aaaa79d08a1493ed
parent11122b860bc52a09c779c3de9415436794fb5605
kbuild: Don't remove link-vmlinux temporary files on exit/signal

Keep them around until they are cleaned up by make clean. This
uses a bit more disk space, but makes it easier to debug any
problems with the kernel link process.

Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/link-vmlinux.sh