summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-26 13:47:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-27 09:42:08 +0000
commit172095e09f3b0fc0e287aebcf922872475a9991d (patch)
treefaaa65ed4d3f9372b030e605b333271f5e4ff497 /bitbake/lib/bb/runqueue.py
parent774eb753d8f23d5887c476062acced3bb0ac40c7 (diff)
downloadpoky-172095e09f3b0fc0e287aebcf922872475a9991d.tar.gz
bitbake: runqueue/siggen: Pass in commandline options to dump_sigs()
This allows the commandline options to be processed in the dump signature code. (Bitbake rev: ef8537a2e9b48f4fe065a165c102935aee2c9029) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 423b03c181..42b6c48ca9 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1040,7 +1040,7 @@ class RunQueue:
1040 if dump: 1040 if dump:
1041 if 'printdiff' in dump: 1041 if 'printdiff' in dump:
1042 invalidtasks = self.print_diffscenetasks() 1042 invalidtasks = self.print_diffscenetasks()
1043 self.dump_signatures() 1043 self.dump_signatures(dump)
1044 if 'printdiff' in dump: 1044 if 'printdiff' in dump:
1045 self.write_diffscenetasks(invalidtasks) 1045 self.write_diffscenetasks(invalidtasks)
1046 self.state = runQueueComplete 1046 self.state = runQueueComplete
@@ -1113,7 +1113,7 @@ class RunQueue:
1113 else: 1113 else:
1114 self.rqexe.finish() 1114 self.rqexe.finish()
1115 1115
1116 def dump_signatures(self): 1116 def dump_signatures(self, options):
1117 done = set() 1117 done = set()
1118 bb.note("Reparsing files to collect dependency data") 1118 bb.note("Reparsing files to collect dependency data")
1119 for task in range(len(self.rqdata.runq_fnid)): 1119 for task in range(len(self.rqdata.runq_fnid)):
@@ -1122,7 +1122,7 @@ class RunQueue:
1122 the_data = bb.cache.Cache.loadDataFull(fn, self.cooker.collection.get_file_appends(fn), self.cooker.data) 1122 the_data = bb.cache.Cache.loadDataFull(fn, self.cooker.collection.get_file_appends(fn), self.cooker.data)
1123 done.add(self.rqdata.runq_fnid[task]) 1123 done.add(self.rqdata.runq_fnid[task])
1124 1124
1125 bb.parse.siggen.dump_sigs(self.rqdata.dataCache) 1125 bb.parse.siggen.dump_sigs(self.rqdata.dataCache, options)
1126 1126
1127 return 1127 return
1128 1128