scripts/build/arch/mips.sh
changeset 1815 33e1e077f47f
parent 964 0535f7bf1069
child 2118 034de6dca38f
     1.1 --- a/scripts/build/arch/mips.sh	Thu Oct 23 13:00:45 2008 +0000
     1.2 +++ b/scripts/build/arch/mips.sh	Sat Feb 20 07:35:02 2010 +0100
     1.3 @@ -1,8 +1,13 @@
     1.4  # Compute IA-64-specific values
     1.5  
     1.6  CT_DoArchTupleValues() {
     1.7 -    # The architecture part of the tuple:
     1.8 -    CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
     1.9 +    # The architecture part of the tuple, override only for 64-bit
    1.10 +    if [ "${CT_ARCH_64}" = "y" ]; then
    1.11 +        CT_TARGET_ARCH="mips64${target_endian_el}"
    1.12 +    else
    1.13 +        # The architecture part of the tuple:
    1.14 +        CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
    1.15 +    fi
    1.16  
    1.17      # Override CFLAGS for endianness:
    1.18      case "${CT_ARCH_BE},${CT_ARCH_LE}" in