diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-10 21:59:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-10 21:59:34 +0000 |
commit | 48e567bb477ad468dcfbab0d97019a6a85520ede (patch) | |
tree | c585b387591b65855d96749e74399285eda39e0c | |
parent | 2bd6e7ce9cdcc875e3a9b3573178250963df078b (diff) | |
download | poky-48e567bb477ad468dcfbab0d97019a6a85520ede.tar.gz |
bitbake/runqueue.py: Fix del_stamp calls and -f option to bitbake with the BasicHash siggen code
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 2b37619ae3..6ba82a338c 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -573,11 +573,6 @@ class RunQueueData: | |||
573 | fn = taskData.fn_index[fnid] | 573 | fn = taskData.fn_index[fnid] |
574 | self.target_pairs.append((fn, target[1])) | 574 | self.target_pairs.append((fn, target[1])) |
575 | 575 | ||
576 | # Remove stamps for targets if force mode active | ||
577 | if self.cooker.configuration.force: | ||
578 | logger.verbose("Remove stamp %s, %s", target[1], fn) | ||
579 | bb.build.del_stamp(target[1], self.dataCache, fn) | ||
580 | |||
581 | if fnid in taskData.failed_fnids: | 576 | if fnid in taskData.failed_fnids: |
582 | continue | 577 | continue |
583 | 578 | ||
@@ -724,6 +719,12 @@ class RunQueueData: | |||
724 | 719 | ||
725 | self.hashdata = hashdata | 720 | self.hashdata = hashdata |
726 | 721 | ||
722 | # Remove stamps for targets if force mode active | ||
723 | if self.cooker.configuration.force: | ||
724 | for (fn, target) in self.target_pairs: | ||
725 | logger.verbose("Remove stamp %s, %s", target, fn) | ||
726 | bb.build.del_stamp(target, self.dataCache, fn) | ||
727 | |||
727 | return len(self.runq_fnid) | 728 | return len(self.runq_fnid) |
728 | 729 | ||
729 | def dump_data(self, taskQueue): | 730 | def dump_data(self, taskQueue): |