summaryrefslogtreecommitdiffstats
path: root/meta/classes/icecc.bbclass
diff options
context:
space:
mode:
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