]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
runqueue.py: Export further hash information into the task environment
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jun 2011 18:49:05 +0000 (19:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jun 2011 19:36:27 +0000 (20:36 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/runqueue.py

index de7e73ca41d8c76a82ce99f373f8db0435d3cfd9..2494cb2e902beb4062254420ac42d14a38751d70 100644 (file)
@@ -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: