scripts/build/arch/mips.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 23 18:40:38 2010 +0100 (2010-01-23)
changeset 1747 8e8b72bdcea0
parent 903 9fb0f81b4416
child 1815 33e1e077f47f
permissions -rw-r--r--
libc/glibc: use CT_ARCH, in place of CT_KERNEL_ARCH

Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.
     1 # Compute IA-64-specific values
     2 
     3 CT_DoArchTupleValues() {
     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 }