summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-07 20:33:12 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-07 20:33:12 +0000
commit5ae5a145dddbdd4db4b93d72291760beabe2c888 (patch)
treea69dc8da14e4f8fc0c27e5ddb4d867de952ace65 /bitbake
parent8e2150e5dce0f7322fa7e16657b1bd92af440190 (diff)
downloadopenembedded-core-5ae5a145dddbdd4db4b93d72291760beabe2c888.tar.gz
openembedded-core-5ae5a145dddbdd4db4b93d72291760beabe2c888.tar.bz2
openembedded-core-5ae5a145dddbdd4db4b93d72291760beabe2c888.tar.xz
openembedded-core-5ae5a145dddbdd4db4b93d72291760beabe2c888.zip
bitbake.runqueue.py: Fix no exec task handling to correct counter housekeeping
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/runqueue.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 178a5a61b..85ecafcb7 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1212,6 +1212,8 @@ class RunQueueExecuteTasks(RunQueueExecute):
self.task_skip(task)
return True
+ bb.event.fire(runQueueTaskStarted(task, self.stats, self.rq), self.cfgData)
+
taskdep = self.rqdata.dataCache.task_deps[fn]
if 'noexec' in taskdep and taskname in taskdep['noexec']:
bb.msg.note(1, bb.msg.domain.RunQueue,
@@ -1220,11 +1222,11 @@ class RunQueueExecuteTasks(RunQueueExecute):
task,
self.rqdata.get_user_idstring(task)))
self.runq_running[task] = 1
- self.runq_buildable[task] = 1
+ self.stats.taskActive()
+ bb.build.make_stamp(task, self.rqdata.dataCache, fn)
self.task_complete(task)
return True
- bb.event.fire(runQueueTaskStarted(task, self.stats, self.rq), self.cfgData)
bb.msg.note(1, bb.msg.domain.RunQueue,
"Running task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1,
self.stats.total,