diff -r 32dabc0285d6 -r 9d0b37f08a10 scripts/build/arch/mips.sh --- a/scripts/build/arch/mips.sh Sun Nov 20 21:04:31 2011 +0100 +++ b/scripts/build/arch/mips.sh Sun Jan 20 12:58:22 2013 +0000 @@ -1,13 +1,13 @@ # Compute MIPS-specific values CT_DoArchTupleValues() { - # The architecture part of the tuple, override only for 64-bit + local _64 + + # The architecture part of the tuple if [ "${CT_ARCH_64}" = "y" ]; then - CT_TARGET_ARCH="mips64${target_endian_el}" - else - # The architecture part of the tuple: - CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}" + _64="64" fi + CT_TARGET_ARCH="${CT_ARCH}${_64}${CT_ARCH_SUFFIX:-${target_endian_el}}" # Override CFLAGS for endianness: case "${CT_ARCH_ENDIAN}" in