]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - Makefile
kbuild: move vmlinux.o rule to the top Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Sep 2022 18:19:12 +0000 (03:19 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 28 Sep 2022 19:42:34 +0000 (04:42 +0900)
commit9c5a0ac3c36917c4258f734bda98be02ca36b992
tree97c83b8381c07e5e7c934e6e49d1678962db2429
parent26ef40de5cbb24728a34a319e8d42cdec99f186c
kbuild: move vmlinux.o rule to the top Makefile

Move the build rules of vmlinux.o out of scripts/link-vmlinux.sh to
clearly separate 1) pre-modpost, 2) modpost, 3) post-modpost stages.
This will make further refactoring possible.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Makefile
scripts/link-vmlinux.sh