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.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index ac82e86356..a0e9d23836 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -36,7 +36,7 @@ python () {
36 return 36 return
37 37
38 tos = d.getVar("TARGET_OS") 38 tos = d.getVar("TARGET_OS")
39 whitelist = ["mingw32"] 39 tos_known = ["mingw32"]
40 extralibcs = [""] 40 extralibcs = [""]
41 if "musl" in d.getVar("BASECANADIANEXTRAOS"): 41 if "musl" in d.getVar("BASECANADIANEXTRAOS"):
42 extralibcs.append("musl") 42 extralibcs.append("musl")
@@ -51,8 +51,8 @@ python () {
51 entry = entry + "-gnu" + variant 51 entry = entry + "-gnu" + variant
52 elif libc: 52 elif libc:
53 entry = entry + "-" + libc 53 entry = entry + "-" + libc
54 whitelist.append(entry) 54 tos_known.append(entry)
55 if tos not in whitelist: 55 if tos not in tos_known:
56 bb.fatal("Building cross-candian for an unknown TARGET_SYS (%s), please update cross-canadian.bbclass" % d.getVar("TARGET_SYS")) 56 bb.fatal("Building cross-candian for an unknown TARGET_SYS (%s), please update cross-canadian.bbclass" % d.getVar("TARGET_SYS"))
57 57
58 for n in ["PROVIDES", "DEPENDS"]: 58 for n in ["PROVIDES", "DEPENDS"]: