Skip to content

Commit 7c105b6

Browse files
antonblanchardozbenh
authored andcommitted
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>
1 parent b2ca8c8 commit 7c105b6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

arch/powerpc/platforms/Kconfig.cputype

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,3 +403,14 @@ config PPC_DOORBELL
403403
default n
404404

405405
endmenu
406+
407+
config CPU_LITTLE_ENDIAN
408+
bool "Build little endian kernel"
409+
default n
410+
help
411+
This option selects whether a big endian or little endian kernel will
412+
be built.
413+
414+
Note that if cross compiling a little endian kernel,
415+
CROSS_COMPILE must point to a toolchain capable of targeting
416+
little endian powerpc.

0 commit comments

Comments
 (0)