]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: remove top-level built-in.a
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 17 Jan 2019 00:10:03 +0000 (09:10 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 Jan 2019 00:11:17 +0000 (09:11 +0900)
commite201b794477a5b1cdac08603bef3744632e0a7f6
tree743ef93dc34e18f12cd67d7379979ee4651e6c96
parent690c2a8bd10d3dcf1aebbfab46507b68e2811cad
kbuild: remove top-level built-in.a

The symbol table in the final archive is unneeded; the linker does not
require the symbol table after the --whole-archive option. Every object
file in the archive is included in the link anyway.

Pass thin archives from subdirectories directly to the linker, and
remove the final archiving step.

Fix up the document and comments as well.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Documentation/kbuild/makefiles.txt
scripts/Makefile.build
scripts/link-vmlinux.sh