summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross-canadian.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r--meta/classes/cross-canadian.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index cea6afb75d..25e246ddc3 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -27,7 +27,9 @@ 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" and tos != "linux-uclibc" and tos != "linux-uclibcspe"): 30 if (tos != "linux" and tos != "linux-gnuspe"
31 and tos != "linux-uclibc" and tos != "linux-uclibcspe"
32 and tos != "linux-musl" and tos != "linux-muslspe"):
31 bb.fatal("Building cross-candian powerpc for an unknown TARGET_SYS (%s), please update cross-canadian.bbclass" % d.getVar("TARGET_SYS", True)) 33 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 34 # 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. 35 # however we need the old value in some variables. We expand those here first.