Skip to content
Commit 5d4aeffb authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: rebuild .vmlinux.export.o when its prerequisite is updated



When include/linux/export-internal.h is updated, .vmlinux.export.o
must be rebuilt, but it does not happen because its rule is hidden
behind scripts/link-vmlinux.sh.

Move it out of the shell script, so that Make can see the dependency
between vmlinux and .vmlinux.export.o.

Move the vmlinux rule to scripts/Makefile.vmlinux.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 7a342e6c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment