kbuild: vmlinux.unstripped should always depend on .vmlinux.export.o
authorAlexey Gladkov <legion@kernel.org>
Thu, 18 Sep 2025 08:05:52 +0000 (10:05 +0200)
committerNathan Chancellor <nathan@kernel.org>
Wed, 24 Sep 2025 16:10:45 +0000 (09:10 -0700)
commit3328d39a8dca2d6ed27197a0025df7540b99adf2
treecec0f7f7246b5af3edb691341ef347e1151e7b22
parent5ab23c7923a1d2ae1890026866a2d8506b010a4a
kbuild: vmlinux.unstripped should always depend on .vmlinux.export.o

Since .vmlinux.export.c is used to add generated by modpost modaliases
for builtin modules the .vmlinux.export.o is no longer optional and
should always be created. The generation of this file is not dependent
on CONFIG_MODULES.

Signed-off-by: Alexey Gladkov <legion@kernel.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/0e63a9c7741fe8217e4fd7c60afcf057ffa2ef5a.1758182101.git.legion@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
scripts/Makefile.vmlinux
scripts/link-vmlinux.sh