kbuild: move modules.builtin(.modinfo) rules to Makefile.vmlinux_o
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 28 Sep 2022 06:39:40 +0000 (15:39 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 2 Oct 2022 18:52:58 +0000 (03:52 +0900)
commit7a342e6c7735e13b294374cb0a0f6283d8667496
tree784cf59af95127834224b9977a226160e6ea08f3
parent637a642f5ca5e850186bb64ac75ebb0f124b458d
kbuild: move modules.builtin(.modinfo) rules to Makefile.vmlinux_o

Do not build modules.builtin(.modinfo) as a side-effect of vmlinux.

There are no good reason to rebuild them just because any of vmlinux's
prerequistes (vmlinux.lds, .vmlinux.export.c, etc.) has been updated.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile
scripts/Makefile.vmlinux_o
scripts/link-vmlinux.sh