summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/icecc.bbclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 1cc1c4ddb0..e8725b582b 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -151,6 +151,9 @@ def icecc_is_native(bb, d):
151 bb.data.inherits_class("cross", d) or \ 151 bb.data.inherits_class("cross", d) or \
152 bb.data.inherits_class("native", d); 152 bb.data.inherits_class("native", d);
153 153
154def icecc_dir(bb, d):
155 return d.expand('${TMPDIR}/work-shared/ice')
156
154# Don't pollute allarch signatures with TARGET_FPU 157# Don't pollute allarch signatures with TARGET_FPU
155icecc_version[vardepsexclude] += "TARGET_FPU" 158icecc_version[vardepsexclude] += "TARGET_FPU"
156def icecc_version(bb, d): 159def icecc_version(bb, d):
@@ -175,8 +178,8 @@ def icecc_version(bb, d):
175 archive_name += "-kernel" 178 archive_name += "-kernel"
176 179
177 import socket 180 import socket
178 ice_dir = d.expand('${STAGING_DIR_NATIVE}${prefix_native}') 181 ice_dir = icecc_dir(bb, d)
179 tar_file = os.path.join(ice_dir, 'ice', archive_name + "-@VERSION@-" + socket.gethostname() + '.tar.gz') 182 tar_file = os.path.join(ice_dir, archive_name + "-@VERSION@-" + socket.gethostname() + '.tar.gz')
180 183
181 return tar_file 184 return tar_file
182 185