scripts/build/arch/mips.sh
changeset 934 e2f4be0feb9d
parent 898 fe3eda71a9d0
child 964 0535f7bf1069
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/scripts/build/arch/mips.sh	Tue Oct 14 20:06:37 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 +}