scripts/build/arch/mips.sh
changeset 3169 9d0b37f08a10
parent 2774 32dabc0285d6
child 3323 99029fac116b
     1.1 --- a/scripts/build/arch/mips.sh	Sun Nov 20 21:04:31 2011 +0100
     1.2 +++ b/scripts/build/arch/mips.sh	Sun Jan 20 12:58:22 2013 +0000
     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