config/arch/mips/functions
changeset 898 fe3eda71a9d0
parent 499 b9bdd6088f87
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/arch/mips/functions	Fri Oct 03 12:30:58 2008 +0000
     1.3 @@ -0,0 +1,12 @@
     1.4 +# Compute IA-64-specific values
     1.5 +
     1.6 +CT_DoArchValues() {
     1.7 +    # The architecture part of the tuple:
     1.8 +    CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
     1.9 +
    1.10 +    # Override CFLAGS for endianness:
    1.11 +    case "${CT_ARCH_BE},${CT_ARCH_LE}" in
    1.12 +        y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
    1.13 +        ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
    1.14 +    esac
    1.15 +}