scripts/build/arch/mips.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 21 16:56:32 2008 +0000 (2008-10-21)
changeset 954 a9e7de970e5e
parent 898 fe3eda71a9d0
child 964 0535f7bf1069
permissions -rw-r--r--
Correctly handle V= only from command line, not from environment.

/trunk/ct-ng.in | 17 8 9 0 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
     1 # Compute IA-64-specific values
     2 
     3 CT_DoArchValues() {
     4     # The architecture part of the tuple:
     5     CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
     6 
     7     # Override CFLAGS for endianness:
     8     case "${CT_ARCH_BE},${CT_ARCH_LE}" in
     9         y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
    10         ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
    11     esac
    12 }