arch/arm/functions
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Sep 01 17:54:39 2008 +0000 (2008-09-01)
changeset 820 d43c250051c7
parent 787 0725d7f8ab22
child 850 ef8549b58b6f
permissions -rw-r--r--
Don't allow to specify an ABI for ARM EABI builds: the ABI is implied by the fact we're building for EABI.

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