summaryrefslogtreecommitdiff
path: root/scripts/build/arch/mips.sh
blob: ae9e1112eab00b9ac3166b8001cc4a0177c329c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Compute IA-64-specific values

CT_DoArchTupleValues() {
    # The architecture part of the tuple:
    CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"

    # Override CFLAGS for endianness:
    case "${CT_ARCH_BE},${CT_ARCH_LE}" in
        y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
        ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
    esac
}