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-eabi5.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'meta/conf/distro/include/poky-eabi5.inc') diff --git a/meta/conf/distro/include/poky-eabi5.inc b/meta/conf/distro/include/poky-eabi5.inc index 85a68e7de9..74972ad822 100644 --- a/meta/conf/distro/include/poky-eabi5.inc +++ b/meta/conf/distro/include/poky-eabi5.inc @@ -8,9 +8,6 @@ PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate" PREFERRED_VERSION_gcc ?= "3.4.4+csl-arm-2005q3" PREFERRED_VERSION_gcc-cross ?= "3.4.4+csl-arm-2005q3" PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4+csl-arm-2005q3" -#PREFERRED_VERSION_gcc ?= "4.1.0" -#PREFERRED_VERSION_gcc-cross ?= "4.1.0" -#PREFERRED_VERSION_gcc-cross-initial ?= "4.1.0" PREFERRED_VERSION_binutils ?= "2.16.91.0.7" PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.7" PREFERRED_VERSION_linux-libc-headers ?= "2.6.15.99" @@ -18,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