arch/mips/functions
branch1.2
changeset 731 65614732cfe7
parent 387 2fa4b675a9a3
     1.1 --- a/arch/mips/functions	Fri Sep 14 21:50:30 2007 +0000
     1.2 +++ b/arch/mips/functions	Sat Jul 26 15:14:48 2008 +0000
     1.3 @@ -3,4 +3,10 @@
     1.4  CT_DoArchValues() {
     1.5      # The architecture part of the tuple:
     1.6      CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
     1.7 +
     1.8 +    # Override CFLAGS for endianness:
     1.9 +    case "${CT_ARCH_BE},${CT_ARCH_LE}" in
    1.10 +        y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
    1.11 +        ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
    1.12 +    esac
    1.13  }