summaryrefslogtreecommitdiffstats
path: root/meta/classes/icecc.bbclass
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-02-12 10:51:58 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-15 13:28:54 +0000
commitf1dfc8bbe1651ed2142ded63a652887383932aee (patch)
tree2ccfe2a2268f31ba15395bf4c1977369712ebe8a /meta/classes/icecc.bbclass
parentb20373e72dac238b8ec05691cb657a3ba9e55ccb (diff)
downloadpoky-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/classes/icecc.bbclass')
-rw-r--r--meta/classes/icecc.bbclass6
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
157def icecc_is_cross_canadian(bb, d):
158 return bb.data.inherits_class("cross-canadian", d)
159
154def icecc_dir(bb, d): 160def icecc_dir(bb, d):
155 return d.expand('${TMPDIR}/work-shared/ice') 161 return d.expand('${TMPDIR}/work-shared/ice')
156 162