target/jffs2: default to big endian format for big endian archs
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 7 Apr 2009 19:22:50 +0000 (19:22 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 7 Apr 2009 19:22:50 +0000 (19:22 -0000)
Same logic as in target/Config.in.arch.

target/jffs2/Config.in

index 349b594b6dfa34ed3fa431deddd4a7c11ac38f10..16fdcc5f42291a897aacdf0cea2394b75053aba5 100644 (file)
@@ -90,7 +90,10 @@ config BR2_TARGET_ROOTFS_JFFS2_PADSIZE
 
 choice
        prompt "Endianess"
-       default BR2_TARGET_ROOTFS_JFFS2_LE
+       default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_alpha || BR2_armeb || \
+                       BR2_avr32 || BR2_m68k || BR2_mips || \
+                       BR2_powerpc || BR2_sh2a_nofpueb || BR2_sh2eb || \
+                       BR2_sh3eb || BR2_sh4eb || BR2_sparc || BR2_sparc64
 
 config BR2_TARGET_ROOTFS_JFFS2_LE
        bool "little-endian"