summaryrefslogtreecommitdiff
path: root/meta/conf/distro/include/poky-eabi3.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-28 22:50:06 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-28 22:50:06 +0000
commit01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce (patch)
tree37160f918af3f056e5f1df88045e821728bf3f51 /meta/conf/distro/include/poky-eabi3.inc
parent80fbf41494fe65ad27051ccc5e182dd6fcff8428 (diff)
downloadopenembedded-core-01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce.tar.gz
openembedded-core-01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce.tar.bz2
openembedded-core-01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce.tar.xz
openembedded-core-01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce.zip
conf: Add POKYLIBC to poky to select libc implemention
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1801 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/distro/include/poky-eabi3.inc')
-rw-r--r--meta/conf/distro/include/poky-eabi3.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/conf/distro/include/poky-eabi3.inc b/meta/conf/distro/include/poky-eabi3.inc
index 263647920..128d53e39 100644
--- a/meta/conf/distro/include/poky-eabi3.inc
+++ b/meta/conf/distro/include/poky-eabi3.inc
@@ -15,6 +15,5 @@ PREFERRED_VERSION_glibc ?= "2.4"
PREFERRED_VERSION_glibc-intermediate ?= "2.4"
PREFERRED_VERSION_elfutils ?= "0.108"
-#Use the ARM EABI when building for an ARM cpu. We can't use overrides
-#here because this breaks all places where ":=" is used.
-TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}"
+GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
+UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"