summaryrefslogtreecommitdiff
path: root/meta/conf/distro/include/poky-eabi.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-eabi.inc
parent80fbf41494fe65ad27051ccc5e182dd6fcff8428 (diff)
downloadopenembedded-core-01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce.tar.gz
openembedded-core-01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce.tar.bz2
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-eabi.inc')
-rw-r--r--meta/conf/distro/include/poky-eabi.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/conf/distro/include/poky-eabi.inc b/meta/conf/distro/include/poky-eabi.inc
index bb83718031..e3c7f90639 100644
--- a/meta/conf/distro/include/poky-eabi.inc
+++ b/meta/conf/distro/include/poky-eabi.inc
@@ -16,6 +16,5 @@ PREFERRED_VERSION_glibc-intermediate ?= "2.5"
PREFERRED_VERSION_glibc-initial ?= "2.5"
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']]}"