scripts/build/arch/arm.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Oct 13 16:58:52 2008 +0000 (2008-10-13)
changeset 923 54fc137f9dc8
parent 898 fe3eda71a9d0
child 964 0535f7bf1069
permissions -rw-r--r--
Generate the choice menu for C compilers, the same way arch, kernels and C libraries are generated.

/trunk/kconfig/kconfig.mk | 6 6 0 0 ++++++
/trunk/config/cc/gcc.in | 13 13 0 0 +++++++++++++
/trunk/config/cc.in | 31 3 28 0 +++----------------------------
3 files changed, 22 insertions(+), 28 deletions(-)
     1 # Compute ARM-specific values
     2 
     3 CT_DoArchValues() {
     4     # The architecture part of the tuple:
     5     CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
     6 
     7     # The system part of the tuple:
     8     case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
     9         *glibc,y)   CT_TARGET_SYS=gnueabi;;
    10         uClibc,y)   CT_TARGET_SYS=uclibcgnueabi;;
    11         none,y)     CT_TARGET_SYS=eabi;;
    12     esac
    13 
    14     # In case we're EABI, do *not* specify any ABI!
    15     # which means, either we do not have an ABI specified, or we're not EABI.
    16     CT_TestOrAbort "Internal error: CT_ARCH_ABI should not be set for EABI build." -z "${CT_ARCH_ABI}" -o -z "${CT_ARCH_ARM_EABI}"
    17 }