diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/cookerdata.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py index 6200b0ebac..b9b9e16675 100644 --- a/bitbake/lib/bb/cookerdata.py +++ b/bitbake/lib/bb/cookerdata.py | |||
@@ -124,7 +124,7 @@ class CookerConfiguration(object): | |||
124 | self.profile = False | 124 | self.profile = False |
125 | self.nosetscene = False | 125 | self.nosetscene = False |
126 | self.invalidate_stamp = False | 126 | self.invalidate_stamp = False |
127 | self.dump_signatures = False | 127 | self.dump_signatures = [] |
128 | self.dry_run = False | 128 | self.dry_run = False |
129 | self.tracking = False | 129 | self.tracking = False |
130 | self.interface = [] | 130 | self.interface = [] |
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 90fe40b880..423b03c181 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1036,10 +1036,13 @@ class RunQueue: | |||
1036 | bb.event.fire(bb.event.DepTreeGenerated(depgraph), self.cooker.data) | 1036 | bb.event.fire(bb.event.DepTreeGenerated(depgraph), self.cooker.data) |
1037 | 1037 | ||
1038 | if self.state is runQueueSceneInit: | 1038 | if self.state is runQueueSceneInit: |
1039 | if self.cooker.configuration.dump_signatures: | 1039 | dump = self.cooker.configuration.dump_signatures |
1040 | invalidtasks = self.print_diffscenetasks() | 1040 | if dump: |
1041 | if 'printdiff' in dump: | ||
1042 | invalidtasks = self.print_diffscenetasks() | ||
1041 | self.dump_signatures() | 1043 | self.dump_signatures() |
1042 | self.write_diffscenetasks(invalidtasks) | 1044 | if 'printdiff' in dump: |
1045 | self.write_diffscenetasks(invalidtasks) | ||
1043 | self.state = runQueueComplete | 1046 | self.state = runQueueComplete |
1044 | else: | 1047 | else: |
1045 | self.start_worker() | 1048 | self.start_worker() |