summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-10 21:59:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-10 22:06:09 +0000
commit7c0f59cd415e3ddbbab16947b6e9c5a74dea171b (patch)
tree111046890b942703b813678859987a3e5d2fcab7 /lib
parent8385bfb7da3a3b71f340a787d7f1502ba61c5b81 (diff)
downloadbitbake-7c0f59cd415e3ddbbab16947b6e9c5a74dea171b.tar.gz
bitbake/runqueue.py: Fix del_stamp calls and -f option to bitbake with the BasicHash siggen code
(From Poky rev: 48e567bb477ad468d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/runqueue.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index b08d32bb8..b52d8d3b9 100644
--- a/lib/bb/runqueue.py
+++ b/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
@@ -721,6 +716,12 @@ class RunQueueData:
deps.append(depidentifier)
self.hash_deps[identifier] = deps
+ # 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):