OSDN Git Service

powerpc: Add option to use thin archives
authorNicholas Piggin <npiggin@gmail.com>
Wed, 19 Oct 2016 03:15:59 +0000 (14:15 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
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 <sfr@canb.auug.org.au>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Make it an explicit option not dependant on COMPILE_TEST]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/Makefile