summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-11-20 12:15:05 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-11-20 23:19:22 +0100
commit7c105b63bd9887f10ec281b0020492e7c774d0fc (patch)
tree6ff54e40e92ae6ddda94d0da1479c1266475478e /arch
parentpowerpc: Don't use ELFv2 ABI to build the kernel (diff)
downloadlinux-7c105b63bd9887f10ec281b0020492e7c774d0fc.tar.xz
linux-7c105b63bd9887f10ec281b0020492e7c774d0fc.zip
powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option.
With the little endian support merged, we can add the CONFIG_CPU_LITTLE_ENDIAN kernel config option. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/Kconfig.cputype11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index c2a566fb8bb8..132f8726a257 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -403,3 +403,14 @@ config PPC_DOORBELL
default n
endmenu
+
+config CPU_LITTLE_ENDIAN
+ bool "Build little endian kernel"
+ default n
+ help
+ This option selects whether a big endian or little endian kernel will
+ be built.
+
+ Note that if cross compiling a little endian kernel,
+ CROSS_COMPILE must point to a toolchain capable of targeting
+ little endian powerpc.