summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-04-07 09:25:24 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-11 15:57:37 +0200
commit0f1bce64bde1a17e4b8d2eceef19a3a4e9d40482 (patch)
tree672fa4c55fefde4f12a923300aa91cdd44715b4f /fs
parent1413447256167c27364217a905ee2a4fce77df4f (diff)
downloadbuildroot-novena-0f1bce64bde1a17e4b8d2eceef19a3a4e9d40482.tar.gz
buildroot-novena-0f1bce64bde1a17e4b8d2eceef19a3a4e9d40482.zip
fs/jffs2: refactor endianess selection to use BR2_ENDIAN
Instead of explicitly listing the sub-architectures or architectures that are big-endian, use BR2_ENDIAN directly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'fs')
-rw-r--r--fs/jffs2/Config.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/jffs2/Config.in b/fs/jffs2/Config.in
index 9a96d7da1..f15e73033 100644
--- a/fs/jffs2/Config.in
+++ b/fs/jffs2/Config.in
@@ -92,10 +92,7 @@ config BR2_TARGET_ROOTFS_JFFS2_PADSIZE
choice
prompt "Endianess"
- default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_armeb || \
- BR2_avr32 || BR2_m68k || BR2_mips || \
- BR2_powerpc || BR2_sh2 || BR2_sh2a || \
- BR2_sh3eb || BR2_sh4eb || BR2_sh4aeb || BR2_sparc
+ default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_ENDIAN = "BIG"
config BR2_TARGET_ROOTFS_JFFS2_LE
bool "little-endian"