]> git.ipfire.org Git - thirdparty/linux.git/commit
kbuild: move vmlinux.a build rule to scripts/Makefile.vmlinux_a
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 29 May 2026 18:53:44 +0000 (11:53 -0700)
committerNathan Chancellor <nathan@kernel.org>
Fri, 29 May 2026 20:44:29 +0000 (13:44 -0700)
commit9c72d26e9fe3be79dd1d8a2ba00a033503ffd27d
tree7582dadc4a28f0a04395e1a8cf73205df617646e
parentd7231d8cb262b1e350c00271bf53d54414b4f3b1
kbuild: move vmlinux.a build rule to scripts/Makefile.vmlinux_a

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@kernel.org>
Tested-by: Rong Xu <xur@google.com>
Tested-by: Piotr Gorski <piotrgorski@cachyos.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Rong Xu <xur@google.com>
Link: https://patch.msgid.link/20260529185347.2418373-2-xur@google.com
[nathan: Squash in forward fix from Rong around '--thin' to $(AR)
         https://patch.msgid.link/20260529185347.2418373-3-xur@google.com]
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Makefile
scripts/Makefile.vmlinux_a [new file with mode: 0644]