powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option.
authorAnton Blanchard <anton@samba.org>
Wed, 20 Nov 2013 11:15:05 +0000 (22:15 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Nov 2013 22:19:22 +0000 (09:19 +1100)
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>
arch/powerpc/platforms/Kconfig.cputype

index c2a566fb8bb89cc816b8841fe47fcdf35b222836..132f8726a257c4ed7608534a8f61496d89b69d80 100644 (file)
@@ -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.