]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kbuild: always create intermediate vmlinux.unstripped
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 18 Sep 2025 08:05:46 +0000 (10:05 +0200)
committerNathan Chancellor <nathan@kernel.org>
Wed, 24 Sep 2025 16:10:44 +0000 (09:10 -0700)
commit0ce5139fd96e9d415d3faaef1c575e238f9bbd67
treeccb8e36d6af8e68dc09ffe81d22938cea7cac796
parent8d18ef04f940a8d336fe7915b5ea419c3eb0c0a6
kbuild: always create intermediate vmlinux.unstripped

Generate the intermediate vmlinux.unstripped regardless of
CONFIG_ARCH_VMLINUX_NEEDS_RELOCS.

If CONFIG_ARCH_VMLINUX_NEEDS_RELOCS is unset, vmlinux.unstripped and
vmlinux are identiacal.

This simplifies the build rule, and allows to strip more sections
by adding them to remove-section-y.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/a48ca543fa2305bd17324f41606dcaed9b19f2d4.1758182101.git.legion@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
scripts/Makefile.vmlinux