]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kbuild: extract modules.builtin.modinfo from vmlinux.unstripped
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 18 Sep 2025 08:05:48 +0000 (10:05 +0200)
committerNathan Chancellor <nathan@kernel.org>
Wed, 24 Sep 2025 16:10:44 +0000 (09:10 -0700)
commit39cfd5b12160be4f57df1c3ba60139741c827616
tree383076dbc7143b74f653f872f09d6f793e79baba
parent3e86e4d74c0490e5fc5a7f8de8f29e7579c9ffe5
kbuild: extract modules.builtin.modinfo from vmlinux.unstripped

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>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/cdb3e5b9a739666b755cd0097dc34ab69c350e51.1758182101.git.legion@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
scripts/Makefile.vmlinux
scripts/Makefile.vmlinux_o