On Oct 1, 2010, at 2:05 AM, Ian Munsie wrote:
quoted hunk ↗ jump to hunk
=20
diff --git a/arch/powerpc/platforms/Kconfig.cputype =
b/arch/powerpc/platforms/Kconfig.cputype
quoted hunk ↗ jump to hunk
index d361f81..074ff12 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -329,3 +329,19 @@ config CHECK_CACHE_COHERENCY
bool
=20
endmenu
+
+config ARCH_SUPPORTS_LITTLE_ENDIAN
+ bool
+
+config CPU_LITTLE_ENDIAN
+ bool "Build little endian kernel"
+ depends on ARCH_SUPPORTS_LITTLE_ENDIAN && EXPERIMENTAL
+ default n
+ help
+ This option selects whether a big endian or little endian =
kernel will
+ be built.
+
+ Note that if building a little endian kernel, CROSS_COMPILE =
must
+ point to a toolchain capable of targetting little endian =
powerpc,
+ while the toolchain specified by CROSS32_COMPILE must be =
capable of
+ targetting *BIG* endian PowerPC.
--=20
1.7.1
Shouldn't we have something that limits to the sub-arch'es that actually =
support it? I doubt I'm ever going to make FSL-Book-e support LE.
- k=