1.1 --- a/scripts/build/arch/mips.sh Sun Nov 20 21:04:31 2011 +0100
1.2 +++ b/scripts/build/arch/mips.sh Sat May 10 12:33:37 2014 +0200
1.3 @@ -1,13 +1,13 @@
1.4 # Compute MIPS-specific values
1.5
1.6 CT_DoArchTupleValues() {
1.7 - # The architecture part of the tuple, override only for 64-bit
1.8 + local _64
1.9 +
1.10 + # The architecture part of the tuple
1.11 if [ "${CT_ARCH_64}" = "y" ]; then
1.12 - CT_TARGET_ARCH="mips64${target_endian_el}"
1.13 - else
1.14 - # The architecture part of the tuple:
1.15 - CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
1.16 + _64="64"
1.17 fi
1.18 + CT_TARGET_ARCH="${CT_ARCH}${_64}${CT_ARCH_SUFFIX:-${target_endian_el}}"
1.19
1.20 # Override CFLAGS for endianness:
1.21 case "${CT_ARCH_ENDIAN}" in