diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-02-12 10:51:58 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-15 13:28:54 +0000 |
commit | f1dfc8bbe1651ed2142ded63a652887383932aee (patch) | |
tree | 2ccfe2a2268f31ba15395bf4c1977369712ebe8a /meta | |
parent | b20373e72dac238b8ec05691cb657a3ba9e55ccb (diff) | |
download | poky-f1dfc8bbe1651ed2142ded63a652887383932aee.tar.gz |
icecc.bbclass: Skip canadian-cross compiles
icecc.bbclass will no longer attempt to distribute cross-canadian
compiles. While it is technically possible to generate a toolchain that runs
on the build system and generates executables for the host system, this
is not the normal way that icecc operates. There are so few of these
recipes that it is probably not worth maintaining a distinct code path
for them.
(From OE-Core rev: b8a39cf5884d4ab85e82c4437b81b5fbba06137e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/icecc.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 35a1aaef86..9d5eaed57c 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass | |||
@@ -101,6 +101,9 @@ def use_icecc(bb,d): | |||
101 | if icecc_is_allarch(bb, d): | 101 | if icecc_is_allarch(bb, d): |
102 | return "no" | 102 | return "no" |
103 | 103 | ||
104 | if icecc_is_cross_canadian(bb, d): | ||
105 | return "no" | ||
106 | |||
104 | pn = d.getVar('PN') | 107 | pn = d.getVar('PN') |
105 | 108 | ||
106 | system_class_blacklist = [] | 109 | system_class_blacklist = [] |
@@ -151,6 +154,9 @@ def icecc_is_native(bb, d): | |||
151 | bb.data.inherits_class("cross", d) or \ | 154 | bb.data.inherits_class("cross", d) or \ |
152 | bb.data.inherits_class("native", d); | 155 | bb.data.inherits_class("native", d); |
153 | 156 | ||
157 | def icecc_is_cross_canadian(bb, d): | ||
158 | return bb.data.inherits_class("cross-canadian", d) | ||
159 | |||
154 | def icecc_dir(bb, d): | 160 | def icecc_dir(bb, d): |
155 | return d.expand('${TMPDIR}/work-shared/ice') | 161 | return d.expand('${TMPDIR}/work-shared/ice') |
156 | 162 | ||