diff options
Diffstat (limited to 'meta/conf/distro/include/poky-eabi2.inc')
-rw-r--r-- | meta/conf/distro/include/poky-eabi2.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/conf/distro/include/poky-eabi2.inc b/meta/conf/distro/include/poky-eabi2.inc index 51c6781d1..c3094bb7f 100644 --- a/meta/conf/distro/include/poky-eabi2.inc +++ b/meta/conf/distro/include/poky-eabi2.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']]}" |