summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorNicholas Piggin2016-10-19 05:15:59 +0200
committerMichael Ellerman2016-11-18 12:40:42 +0100
commit43c9127d94d62a232ed33ed2eab8a08657ce5472 (patch)
tree10291a31989894fbefaf3ba53d63813d229895ae /arch/powerpc/Kconfig
parentpowerpc/lib: Fix randconfig build failure in sstep.c (diff)
downloadkernel-qcow2-linux-43c9127d94d62a232ed33ed2eab8a08657ce5472.tar.gz
kernel-qcow2-linux-43c9127d94d62a232ed33ed2eab8a08657ce5472.tar.xz
kernel-qcow2-linux-43c9127d94d62a232ed33ed2eab8a08657ce5472.zip
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>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index b49062b060d2..5ee3dbeab323 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -396,6 +396,14 @@ config MPROFILE_KERNEL
depends on PPC64 && CPU_LITTLE_ENDIAN
def_bool !DISABLE_MPROFILE_KERNEL
+config USE_THIN_ARCHIVES
+ bool "Build the kernel using thin archives"
+ default n
+ select THIN_ARCHIVES
+ help
+ Build the kernel using thin archives.
+ If you're unsure say N.
+
config IOMMU_HELPER
def_bool PPC64