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>
This commit is contained in:
Thomas Petazzoni 2013-04-07 09:25:24 +00:00 committed by Peter Korsgaard
parent 1413447256
commit 0f1bce64bd

View File

@ -92,10 +92,7 @@ config BR2_TARGET_ROOTFS_JFFS2_PADSIZE
choice choice
prompt "Endianess" prompt "Endianess"
default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_armeb || \ default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_ENDIAN = "BIG"
BR2_avr32 || BR2_m68k || BR2_mips || \
BR2_powerpc || BR2_sh2 || BR2_sh2a || \
BR2_sh3eb || BR2_sh4eb || BR2_sh4aeb || BR2_sparc
config BR2_TARGET_ROOTFS_JFFS2_LE config BR2_TARGET_ROOTFS_JFFS2_LE
bool "little-endian" bool "little-endian"