summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/runqueue.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index de7e73ca4..2494cb2e9 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1111,6 +1111,11 @@ class RunQueueExecute:
try:
the_data = bb.cache.Cache.loadDataFull(fn, self.cooker.get_file_appends(fn), self.cooker.configuration.data)
the_data.setVar('BB_TASKHASH', self.rqdata.runq_hash[task])
+ for h in self.rqdata.hashes:
+ the_data.setVar("BBHASH_%s" % h, self.rqdata.hashes[h])
+ for h in self.rqdata.hash_deps:
+ the_data.setVar("BBHASHDEPS_%s" % h, self.rqdata.hash_deps[h])
+
os.environ.update(bb.data.exported_vars(the_data))
except Exception as exc:
if not quieterrors: