]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/platforms/Kconfig.cputype
powerpc: allyesconfig should not select CONFIG_CPU_LITTLE_ENDIAN
[~andy/linux] / arch / powerpc / platforms / Kconfig.cputype
index c2a566fb8bb89cc816b8841fe47fcdf35b222836..bca2465a9c347ad65f3617a7a51f2e4f2a73034a 100644 (file)
@@ -403,3 +403,28 @@ config PPC_DOORBELL
        default n
 
 endmenu
+
+choice
+       prompt "Endianness selection"
+       default CPU_BIG_ENDIAN
+       help
+         This option selects whether a big endian or little endian kernel will
+         be built.
+
+config CPU_BIG_ENDIAN
+       bool "Build big endian kernel"
+       help
+         Build a big endian kernel.
+
+         If unsure, select this option.
+
+config CPU_LITTLE_ENDIAN
+       bool "Build little endian kernel"
+       help
+         Build a little endian kernel.
+
+         Note that if cross compiling a little endian kernel,
+         CROSS_COMPILE must point to a toolchain capable of targeting
+         little endian powerpc.
+
+endchoice