On Mon, Aug 18, 2025 at 06:54:58PM +0200, Alexey Gladkov wrote: > From: Masahiro Yamada <masahi...@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 <masahi...@kernel.org> > Signed-off-by: Alexey Gladkov <leg...@kernel.org> > --- > scripts/Makefile.vmlinux | 26 ++++++++++++++++++++++++++ > scripts/Makefile.vmlinux_o | 26 +------------------------- > 2 files changed, 27 insertions(+), 25 deletions(-) >
Reviewed-by: Nicolas Schier <n...@kernel.org>