Re: [PATCH v7 4/8] kbuild: extract modules.builtin.modinfo from vmlinux.unstripped

From
Nicolas Schier <nsc@kernel.org>
Date
2025-09-17 11:57:47
Also in
linux-kbuild, lkml
Reply to
Alexey Gladkov, 2025-08-18
On Mon, Aug 18, 2025 at 06:54:58PM +0200, Alexey Gladkov wrote:
From: Masahiro Yamada <masahiroy@kernel.org>

Currently, we assume all the data for modules.builtin.modinfo are
available in vmlinux.o.

This makes it impossible for modpost, which is invoked after vmlinux.o,
to add additional module info.

This commit moves the modules.builtin.modinfo rule after modpost.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Alexey Gladkov <legion@kernel.org>
---
 scripts/Makefile.vmlinux   | 26 ++++++++++++++++++++++++++
 scripts/Makefile.vmlinux_o | 26 +-------------------------
 2 files changed, 27 insertions(+), 25 deletions(-)
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Thread (25 messages) 25 messages, 4 authors, last reply 2025-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help