]> www.infradead.org Git - users/willy/xarray.git/commit
kbuild: refactor variables in scripts/link-vmlinux.sh
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 10 Jun 2024 11:25:16 +0000 (20:25 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 15 Jul 2024 16:08:36 +0000 (01:08 +0900)
commitddf41329839f49dadf26973cd845ea160ac1784d
treeb5e62bb04f7b3e9da5fd8dbf4fb741545bd0c1c7
parent995150e4de13cee75b28265dabcd0c289b4ed3fa
kbuild: refactor variables in scripts/link-vmlinux.sh

Clean up the variables in scripts/link-vmlinux.sh

 - Specify the extra objects directly in vmlinux_link()
 - Move the AS rule to kallsyms()
 - Set kallsymso and btf_vmlinux_bin_o where they are generated
 - Remove unneeded variable, kallsymso_prev
 - Introduce the btf_data variable
 - Introduce the strip_debug flag instead of checking the output name

No functional change intended.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/link-vmlinux.sh