From 01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 28 May 2007 22:50:06 +0000 Subject: 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 --- meta/conf/distro/include/poky-eabi3.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meta/conf/distro/include/poky-eabi3.inc') 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']]}" -- cgit v1.2.3