scripts/build/arch/mips.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Aug 02 20:06:44 2009 +0200 (2009-08-02)
changeset 1446 0a44fc4d6bd0
parent 903 9fb0f81b4416
child 1815 33e1e077f47f
permissions -rw-r--r--
[config] Allow user to specify custom CONFIG_SHELL

In case the shell the user wants to use as CONFIG_SHELL is located in a
weird place (eg. /opt/bash/bin/bash), or is weirdly named (eg. bash-4),
let the user enter the patch to the shell.
     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 }