arch/arm/functions
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Sep 05 11:16:26 2008 +0000 (2008-09-05)
branch1.2
changeset 841 918cc0a7bd0a
parent 503 07ec15b050a3
permissions -rw-r--r--
Backport #973 from trunk:
Don't allow to specify an ABI for ARM EABI builds: the ABI is implied by the fact we're building for EABI.

/branches/1.2/arch/arm/functions | 19 3 16 0 +++----------------
/branches/1.2/arch/arm/config.in | 9 6 3 0 ++++++---
2 files changed, 9 insertions(+), 19 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,)     CT_TARGET_SYS=gnu;;
    10         glibc,y)    CT_TARGET_SYS=gnueabi;;
    11         uClibc,)    CT_TARGET_SYS=uclibc;;
    12         uClibc,y)   CT_TARGET_SYS=uclibcgnueabi;;
    13     esac
    14 
    15     # In case we're EABI, do *not* specify any ABI!
    16     # which means, either we do not have an ABI specified, or we're not EABI.
    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}"
    18 }