summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-07-21 20:18:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-22 11:50:14 +0100
commit6c4ddd2d532ea91cd5752a7e56e8487cca1ac1e3 (patch)
treef0c336c47e2681daa45eb2669052894b0fa9ffe8
parent36d0edd2f4c27b4c1040ba9d9ae52eee634cc95c (diff)
downloadopenembedded-core-6c4ddd2d532ea91cd5752a7e56e8487cca1ac1e3.tar.gz
openembedded-core-6c4ddd2d532ea91cd5752a7e56e8487cca1ac1e3.tar.bz2
openembedded-core-6c4ddd2d532ea91cd5752a7e56e8487cca1ac1e3.zip
tclibc-uclibc: Fix TARGET_OS for powerpc
1a9ae8ea8c0540d41b8ff4d95c0420d6df754634 removed -uclibc hence it got all wrong for powerpc. uclibc TARGET_OS for classic ppc is linux-uclibc and for ppc w/ SPE its linux-uclibcspe Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta/conf/distro/include/tclibc-uclibc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/include/tclibc-uclibc.inc b/meta/conf/distro/include/tclibc-uclibc.inc
index 2ccda5bb65..7c06654ba5 100644
--- a/meta/conf/distro/include/tclibc-uclibc.inc
+++ b/meta/conf/distro/include/tclibc-uclibc.inc
@@ -5,7 +5,7 @@
TARGET_OS = "linux-uclibc"
TARGET_OS_arm = "linux-uclibceabi"
TARGET_OS_armeb = "linux-uclibceabi"
-TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('TARGET_FPU',d,1) in ['ppc-efd', 'ppc-efs']]}"
+TARGET_OS_powerpc = "linux-uclibc${@['','spe'][bb.data.getVar('TARGET_FPU',d,1) in ['ppc-efd', 'ppc-efs']]}"
# Add uclibc overrides to the overrides.
OVERRIDES =. "libc-uclibc:"