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)
commitdee9495303f2c6d63a20c43a26420765909898eb
tree743ef93dc34e18f12cd67d7379979ee4651e6c96
parent58156ba4468f1d0de166a4330374bc9df9b74efc
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