Re: [PATCH] kbuild, link-vmlinux: Don't delete output files with make -i

From: Jiri Slaby
Date: Thu Jun 23 2022 - 05:50:30 EST


On 23. 06. 22, 11:45, Masahiro Yamada wrote:
On Thu, Jun 23, 2022 at 5:31 PM Jiri Slaby <jslaby@xxxxxxx> wrote:

From: Andi Kleen <andi@xxxxxxxxxxxxxx>

make -i is useful to see output files which normally get deleted on an
error. Make this work with link-vmlinux.sh too. Don't delete the output
files on error when make -i is used.

Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
Cc: Michal Marek <michal.lkml@xxxxxxxxxxx>
Cc: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
Cc: linux-kbuild@xxxxxxxxxxxxxxx
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
---



I am afraid you missed this commit:



commit 51eb95e2da41802454f48b9afeb4d96a77295035
Author: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Date: Tue May 4 20:35:27 2021 -0700

kbuild: Don't remove link-vmlinux temporary files on exit/signal

Oops, thanks a lot for pointing out. We are going through the Andi's LTO patches and this went unnoticed as it was changed differently (and rebase succeeded). Now dropped from the queue.

thanks,
--
js
suse labs