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>
This commit is contained in:
Anton Blanchard 2013-11-20 22:15:05 +11:00 committed by Benjamin Herrenschmidt
parent b2ca8c895e
commit 7c105b63bd

View 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.