diff options
Diffstat (limited to 'scripts/build/arch/mips.sh')
-rw-r--r-- | scripts/build/arch/mips.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/arch/mips.sh b/scripts/build/arch/mips.sh index f7b7e3bd..97a077f8 100644 --- a/scripts/build/arch/mips.sh +++ b/scripts/build/arch/mips.sh @@ -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 |