summaryrefslogtreecommitdiff
path: root/config/arch/mips/functions
blob: 4bf0501d1987c12e8b064efadcb4b367203404c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Compute IA-64-specific values

CT_DoArchValues() {
    # 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
}