kbuild: thin archives for multi-y targets
authorNicholas Piggin <npiggin@gmail.com>
Wed, 23 Nov 2016 16:41:38 +0000 (03:41 +1100)
committerMichal Marek <mmarek@suse.com>
Tue, 29 Nov 2016 14:53:19 +0000 (15:53 +0100)
commitfe026a851b6bb9a11c27e93b9b15060cb310a3d6
tree98d0a73b38592e5a997d614d7464f6d3f7cf6541
parent7e2b37c971a2a20ec8a311a195a626c16c774031
kbuild: thin archives for multi-y targets

THIN_ARCHIVES builds archives for built-in.o targets, have it build
multi-y targets as archives as well.

This saves another ~15% of the size of intermediate artifacts in the
build tree. After this patch, the linker is only used in final link,
and special cases like vdsos.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/Makefile.build