summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross-canadian.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-11-07 03:52:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-08 17:31:34 +0000
commit7c3986e410d4688fb63c1e59d55134883384316e (patch)
tree33822a93a2dcb006f7379ab80b7188e34756b8c4 /meta/classes/cross-canadian.bbclass
parent67a7ac1ea7403bf6b64becc58945c724b276f20f (diff)
downloadpoky-7c3986e410d4688fb63c1e59d55134883384316e.tar.gz
cross-canadian: Let cross-canadian packages build for uclibc
Fixes errors like Parsing recipes...ERROR: Building cross-candian powerpc for an unknown TARGET_SYS (powerpc-angstrom-linux-uclibc), please update cross-canadian.bbclass ERROR: Building cross-candian powerpc for an unknown TARGET_SYS (powerpc-angstrom-linux-uclibc), please update cross-canadian.bbclass (From OE-Core rev: 7928a9e54dfa85cbfd042e25ed883a9795f09f1b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r--meta/classes/cross-canadian.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 18ee7247b9..70efee317e 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -27,7 +27,7 @@ python () {
27 tarch = d.getVar("TARGET_ARCH", True) 27 tarch = d.getVar("TARGET_ARCH", True)
28 if tarch == "powerpc": 28 if tarch == "powerpc":
29 tos = d.getVar("TARGET_OS", True) 29 tos = d.getVar("TARGET_OS", True)
30 if (tos != "linux" and tos != "linux-gnuspe"): 30 if (tos != "linux" and tos != "linux-gnuspe" and tos != "linux-uclibc" and tos != "linux-uclibcspe"):
31 bb.fatal("Building cross-candian powerpc for an unknown TARGET_SYS (%s), please update cross-canadian.bbclass" % d.getVar("TARGET_SYS", True)) 31 bb.fatal("Building cross-candian powerpc for an unknown TARGET_SYS (%s), please update cross-canadian.bbclass" % d.getVar("TARGET_SYS", True))
32 # This is a bit ugly. We need to zero LIBC/ABI extension which will change TARGET_OS 32 # This is a bit ugly. We need to zero LIBC/ABI extension which will change TARGET_OS
33 # however we need the old value in some variables. We expand those here first. 33 # however we need the old value in some variables. We expand those here first.