diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-14 21:31:00 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-14 21:31:00 (GMT) |
commit | 9e947198d2edf8067f0a9a49be391126e554e51c (patch) | |
tree | 5e62f32baca59fc35fac9b6169c12085fb62fc30 /arch/arm/functions | |
parent | f4bfb6a0ae2fbd046e1cbf1aa91489d4a5ee8244 (diff) |
Initial support for ARM EABI (courtesy Szilveszter Ordog <ordog@mail.thot-soft.com>).
Diffstat (limited to 'arch/arm/functions')
-rw-r--r-- | arch/arm/functions | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/functions b/arch/arm/functions index ada2836..b59be4f 100644 --- a/arch/arm/functions +++ b/arch/arm/functions @@ -4,7 +4,13 @@ CT_DoArchValues() { # The architecture part of the tuple: CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}" - # The system part of the tuple default values is OK. + # The system part of the tuple: + case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in + glibc,) CT_TARGET_SYS=gnu;; + glibc,y) CT_TARGET_SYS=gnueabi;; + uClibc,) CT_TARGET_SYS=uclibc;; + uClibc,y) CT_TARGET_SYS=uclibcgnueabi;; + esac - # The endianness option default value is OK. + # The endianness option default value is OK } |