]> git.openpandora.org Git - openembedded.git/commitdiff
minimal, sane-toolchain: Use eglibc if LIBC is not selected.
authorKhem Raj <raj.khem@gmail.com>
Sun, 23 Aug 2009 07:34:30 +0000 (00:34 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sun, 23 Aug 2009 07:34:30 +0000 (00:34 -0700)
Currently we fall back to glibc if LIBC is not set.
We now will use eglibc as default lib for minimal
and sane-toolchain

Signed-off-by: Khem Raj <raj.khem@gmail.com>
conf/distro/include/sane-toolchain-eglibc.inc
conf/distro/include/sane-toolchain.inc
conf/distro/minimal.conf

index 4c5f44ff8e081321b38102f86ffc3f1de7657447..88719f5f33b9874affd2a9223123283e23a79d2a 100644 (file)
@@ -3,6 +3,8 @@
 # eglibc:
 # [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os"
 
+TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
+
 FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
 FULL_OPTIMIZATION_pn-perl = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1"
 FULL_OPTIMIZATION_sparc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
index 72fff9869dd0f2c8ff3d43f58db4e41d52292d83..07e1455168eb268b2988f1cff5dbfba6f30d247d 100644 (file)
@@ -115,7 +115,7 @@ TARGET_CC_ARCH_pn-cairo_armv5te = "-march=armv4t"
 #############################################################################
 
 # Can be "glibc", "eglibc" or "uclibc"
-LIBC ?= "glibc"
+LIBC ?= "eglibc"
 require conf/distro/include/${LIBC}.inc
 PSTAGE_EXTRAPATH = "${LIBC}"
 require conf/distro/include/sane-toolchain-${LIBC}.inc
index 2eb4817b9c36c7cd6b1a878a4c7fed69730702d9..fa2a926a1d253ae64fdd394e46be6e05f1a71374 100644 (file)
@@ -73,7 +73,7 @@ MACHINE_KERNEL_VERSION = "2.6"
 #############################################################################
 # TOOLCHAIN
 #############################################################################
-LIBC ?= "glibc"
+LIBC ?= "eglibc"
 require conf/distro/include/sane-toolchain.inc
 
 #############################################################################