summaryrefslogtreecommitdiffstats
path: root/target/jffs2/Config.in
diff options
context:
space:
mode:
authorPeter Korsgaard2009-04-07 21:22:50 +0200
committerPeter Korsgaard2009-04-07 21:22:50 +0200
commit76e5c2988f8213c5afcb7980cd0e9cd0b46c11f7 (patch)
tree21a75fa135f0eccaf344a726be4ab17ade0075cf /target/jffs2/Config.in
parenttarget/jffs2: s/Memory Type/Flash Type/ (diff)
downloadbuildroot-76e5c2988f8213c5afcb7980cd0e9cd0b46c11f7.tar.gz
buildroot-76e5c2988f8213c5afcb7980cd0e9cd0b46c11f7.tar.xz
buildroot-76e5c2988f8213c5afcb7980cd0e9cd0b46c11f7.zip
target/jffs2: default to big endian format for big endian archs
Same logic as in target/Config.in.arch.
Diffstat (limited to 'target/jffs2/Config.in')
-rw-r--r--target/jffs2/Config.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/jffs2/Config.in b/target/jffs2/Config.in
index 349b594b6..16fdcc5f4 100644
--- a/target/jffs2/Config.in
+++ b/target/jffs2/Config.in
@@ -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"