summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-04-07 09:25:24 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-04-11 13:57:37 (GMT)
commit0f1bce64bde1a17e4b8d2eceef19a3a4e9d40482 (patch)
tree672fa4c55fefde4f12a923300aa91cdd44715b4f
parent1413447256167c27364217a905ee2a4fce77df4f (diff)
downloadbuildroot-0f1bce64bde1a17e4b8d2eceef19a3a4e9d40482.tar.gz
buildroot-0f1bce64bde1a17e4b8d2eceef19a3a4e9d40482.tar.bz2
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>
-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 9a96d7d..f15e730 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"