mbox series

[v2,0/3] kbuild: remove PROVIDE() and refactor vmlinux_link steps

Message ID 20240609170855.1708665-1-masahiroy@kernel.org (mailing list archive)
Headers show
Series kbuild: remove PROVIDE() and refactor vmlinux_link steps | expand

Message

Masahiro Yamada June 9, 2024, 5:04 p.m. UTC
- Remove PROVIDE() in the linker script
 - Merge temporary vmlinux link steps for BTF and kallsyms


Changes in v2:
 - Fix the handling --strip-debug flag

Masahiro Yamada (3):
  kbuild: refactor variables in scripts/link-vmlinux.sh
  kbuild: remove PROVIDE() for kallsyms symbols
  kbuild: merge temporary vmlinux for BTF and kallsyms

 include/asm-generic/vmlinux.lds.h | 19 -------
 kernel/kallsyms_internal.h        |  5 --
 scripts/kallsyms.c                |  6 ---
 scripts/link-vmlinux.sh           | 90 ++++++++++++++++---------------
 4 files changed, 47 insertions(+), 73 deletions(-)