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 /bitbake/lib/bb | |
parent | 2bd6e7ce9cdcc875e3a9b3573178250963df078b (diff) | |
download | openembedded-core-48e567bb477ad468dcfbab0d97019a6a85520ede.tar.gz openembedded-core-48e567bb477ad468dcfbab0d97019a6a85520ede.tar.bz2 openembedded-core-48e567bb477ad468dcfbab0d97019a6a85520ede.tar.xz openembedded-core-48e567bb477ad468dcfbab0d97019a6a85520ede.zip |
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>
Diffstat (limited to 'bitbake/lib/bb')
-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 2b37619ae..6ba82a338 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -573,11 +573,6 @@ class RunQueueData: fn = taskData.fn_index[fnid] self.target_pairs.append((fn, target[1])) - # Remove stamps for targets if force mode active - if self.cooker.configuration.force: - logger.verbose("Remove stamp %s, %s", target[1], fn) - bb.build.del_stamp(target[1], self.dataCache, fn) - if fnid in taskData.failed_fnids: continue @@ -724,6 +719,12 @@ class RunQueueData: self.hashdata = hashdata + # Remove stamps for targets if force mode active + if self.cooker.configuration.force: + for (fn, target) in self.target_pairs: + logger.verbose("Remove stamp %s, %s", target, fn) + bb.build.del_stamp(target, self.dataCache, fn) + return len(self.runq_fnid) def dump_data(self, taskQueue): |