From: Richard Purdie Date: Wed, 8 Jun 2011 18:49:05 +0000 (+0100) Subject: runqueue.py: Export further hash information into the task environment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d15aaabf36c22feddea579150236396ae01b131;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git runqueue.py: Export further hash information into the task environment Signed-off-by: Richard Purdie --- diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index de7e73ca41d..2494cb2e902 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: