Commit 0f1bce64 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 14134472
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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"