summaryrefslogtreecommitdiff
path: root/meta/conf/distro
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-11 08:25:14 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-11 08:25:14 +0000
commit09e8bdce88f6d404d123d6e1896d717a29162ff1 (patch)
tree961e9a850280e694f563eb6300d4e1a55754c593 /meta/conf/distro
parent8b1ae5685fb71b07261c1a25c0374fbc490b9796 (diff)
downloadopenembedded-core-09e8bdce88f6d404d123d6e1896d717a29162ff1.tar.gz
openembedded-core-09e8bdce88f6d404d123d6e1896d717a29162ff1.tar.bz2
openembedded-core-09e8bdce88f6d404d123d6e1896d717a29162ff1.zip
poky-external-csl2006q3.inc: Add TARGETOS variables
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2720 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/distro')
-rw-r--r--meta/conf/distro/include/poky-external-csl2006q3.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/distro/include/poky-external-csl2006q3.inc b/meta/conf/distro/include/poky-external-csl2006q3.inc
index 91a4814b95..fa03b9c8dd 100644
--- a/meta/conf/distro/include/poky-external-csl2006q3.inc
+++ b/meta/conf/distro/include/poky-external-csl2006q3.inc
@@ -17,3 +17,6 @@ PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-csl-toolchain"
TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib "
+
+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']]}"