powerpc: Add option to use thin archives
authorNicholas Piggin <[email protected]>
Wed, 19 Oct 2016 03:15:59 +0000 (14:15 +1100)
committerMichael Ellerman <[email protected]>
Fri, 18 Nov 2016 11:40:42 +0000 (22:40 +1100)
commit43c9127d94d62a232ed33ed2eab8a08657ce5472
tree10291a31989894fbefaf3ba53d63813d229895ae
parent5e9d0e3d9ea6f771fa9fc9dbb65b54c865702850
powerpc: Add option to use thin archives

Add an option to use thin archives to build the kernel.
Thin archives are explained in commit a5967db9af51 ("kbuild: allow
architectures to use thin archives instead of ld -r").

This is a gradual way to introduce the option to testers.

Some change to the way we invoke ar is required so it can be used
by scripts/link-vmlinux.sh.

Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
[mpe: Make it an explicit option not dependant on COMPILE_TEST]
Signed-off-by: Michael Ellerman <[email protected]>
arch/powerpc/Kconfig
arch/powerpc/Makefile