summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-21 20:51:39 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-21 20:51:39 (GMT)
commit68b9b30f6bdcfab194408b06a3fcbc6363fb7ede (patch)
tree9b285dc55c10bf807eb8e9ac33626c95b8ff8c7b /scripts
parentf5cfdc13690648af79d48d5be4f851877c353886 (diff)
libc/newlib: allow using newlib with archs other than avr32
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/arch/arm.sh2
-rw-r--r--scripts/functions2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/arch/arm.sh b/scripts/build/arch/arm.sh
index fafd871..a551c61 100644
--- a/scripts/build/arch/arm.sh
+++ b/scripts/build/arch/arm.sh
@@ -8,7 +8,7 @@ CT_DoArchTupleValues() {
case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
*glibc,y) CT_TARGET_SYS=gnueabi;;
uClibc,y) CT_TARGET_SYS=uclibcgnueabi;;
- none,y) CT_TARGET_SYS=eabi;;
+ *,y) CT_TARGET_SYS=eabi;;
esac
# In case we're EABI, do *not* specify any ABI!
diff --git a/scripts/functions b/scripts/functions
index bbafeef..f6cbdf1 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -696,9 +696,9 @@ CT_DoBuildTargetTuple() {
# Set defaults for the system part of the tuple. Can be overriden
# by architecture-specific values.
case "${CT_LIBC}" in
- none) CT_TARGET_SYS=elf;;
*glibc) CT_TARGET_SYS=gnu;;
uClibc) CT_TARGET_SYS=uclibc;;
+ *) CT_TARGET_SYS=elf;;
esac
# Transform the ARCH into a kernel-understandable ARCH