]> 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)
commit1b84af4c466e53fcfa7206dbacc274030b1142df
tree743ef93dc34e18f12cd67d7379979ee4651e6c96
parent73c54a237ec0f1fca5220ddecc7a9da3e4805593
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