diff -r e17f35b05539 -r 172b72d597f9 scripts/build/arch/mips.sh --- a/scripts/build/arch/mips.sh Sun Jul 17 16:54:50 2011 +0200 +++ b/scripts/build/arch/mips.sh Tue Jul 17 22:39:53 2012 +0200 @@ -10,9 +10,9 @@ fi # Override CFLAGS for endianness: - case "${CT_ARCH_BE},${CT_ARCH_LE}" in - y,) CT_ARCH_ENDIAN_CFLAG="-EB";; - ,y) CT_ARCH_ENDIAN_CFLAG="-EL";; + case "${CT_ARCH_ENDIAN}" in + big) CT_ARCH_ENDIAN_CFLAG="-EB";; + little) CT_ARCH_ENDIAN_CFLAG="-EL";; esac # Override ABI flags