summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-17 10:46:33 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-17 10:47:02 +0000
commita86f960f651c561bb104723aa0b4cd0922a3425a (patch)
tree19c31b662a520197b4c9221f1138b5d85b803a24
parent56ef2a01beffb0534a6c1f9b1efc0e5f7524ddf1 (diff)
downloadopenembedded-core-a86f960f651c561bb104723aa0b4cd0922a3425a.tar.gz
openembedded-core-a86f960f651c561bb104723aa0b4cd0922a3425a.tar.bz2
openembedded-core-a86f960f651c561bb104723aa0b4cd0922a3425a.zip
bitbake/runqueue: Revert previous setscene noexec changes and ensure setscene stamp exists for setscene noexec tasks
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/runqueue.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index e111b5a591..09f9ac11f8 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1372,6 +1372,8 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
taskdep = self.rqdata.dataCache.task_deps[fn]
if 'noexec' in taskdep and taskname in taskdep['noexec']:
noexec.append(task)
+ self.task_skip(task)
+ bb.build.make_stamp(taskname + "_setscene", self.rqdata.dataCache, fn)
continue
sq_fn.append(fn)
sq_hashfn.append(self.rqdata.dataCache.hashfn[fn])
@@ -1387,7 +1389,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
valid_new.append(sq_task[v])
for task in range(len(self.sq_revdeps)):
- if task not in valid_new:
+ if task not in valid_new and task not in noexec:
bb.msg.debug(2, bb.msg.domain.RunQueue, "No package found so skipping setscene task %s" % (self.rqdata.get_user_idstring(self.rqdata.runq_setscene[task])))
self.task_failoutright(task)