Re: [PATCH v6 1/2] kbuild: move vmlinux.a build rule to scripts/Makefile.vmlinux_a
From: Rong Xu
Date: Wed Mar 25 2026 - 12:49:10 EST
Sounds good to me.
Could you also include a note stating that the '-T' flag is no longer
problematic since the minimum requirement for LLVM has been updated to
version 15? As of LLVM 14 and onward, the '-T' flag functions
identically to the '--thin' flag.
Thanks a lot for the help!
-Rong
On Wed, Mar 25, 2026 at 12:22 PM Nicolas Schier <nsc@xxxxxxxxxx> wrote:
>
> On Mon, 16 Mar 2026 21:29:29 +0000, xur@xxxxxxxxxx <xur@xxxxxxxxxx> wrote:
>
> Hi Rong,
>
> > Move the build rule for vmlinux.a to a separate file in preparation
> > for supporting distributed builds with Clang ThinLTO.
> >
> > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> > Tested-by: Rong Xu <xur@xxxxxxxxxx>
>
> As Masahiro's original patch is now being modified: I'd like to add
> something like
>
> [rong xu: change '--thin' back to 'T' in Makefile.vmlinux_a]
>
> here before your 'Signed-off-by'. Are you ok with that?
>
> Kind regards,
> Nicolas
>
> --
> Nicolas
>