diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-09-24 21:19:12 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-09-28 22:42:34 +0300 |
commit | 9c5a0ac3c36917c4258f734bda98be02ca36b992 (patch) | |
tree | 97c83b8381c07e5e7c934e6e49d1678962db2429 /scripts | |
parent | 26ef40de5cbb24728a34a319e8d42cdec99f186c (diff) | |
download | linux-9c5a0ac3c36917c4258f734bda98be02ca36b992.tar.xz |
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/link-vmlinux.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index 161bca64e8aa..07486f90d5e2 100755 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -214,9 +214,6 @@ if [ "$1" = "clean" ]; then exit 0 fi -#link vmlinux.o -${MAKE} -f "${srctree}/scripts/Makefile.vmlinux_o" - # modpost vmlinux.o to check for section mismatches ${MAKE} -f "${srctree}/scripts/Makefile.modpost" MODPOST_VMLINUX=1 |