diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2022-03-09 09:40:52 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-10 08:00:28 +0000 |
commit | d9e500f83d0223925ca2595c77c8fb45eab10f7c (patch) | |
tree | 5b8fc1787ced86daebd7a7e26dd3bd69f9d5551b /meta/classes/cross-canadian.bbclass | |
parent | 8827a3ed80ec8f0adcf4b778f88cb8f9f051262b (diff) | |
download | poky-d9e500f83d0223925ca2595c77c8fb45eab10f7c.tar.gz |
meta/scripts: Improve internal variable naming
Update internal variable names to improve the terms used.
(From OE-Core rev: f408068e5d7998ae165f3002e51bc54b380b8099)
Signed-off-by: Saul Wold <saul.wold@windriver.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.bbclass | 6 |
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"]: |