diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-17 10:46:33 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-17 10:47:02 +0000 |
commit | a86f960f651c561bb104723aa0b4cd0922a3425a (patch) | |
tree | 19c31b662a520197b4c9221f1138b5d85b803a24 /bitbake/lib/bb | |
parent | 56ef2a01beffb0534a6c1f9b1efc0e5f7524ddf1 (diff) | |
download | openembedded-core-a86f960f651c561bb104723aa0b4cd0922a3425a.tar.gz openembedded-core-a86f960f651c561bb104723aa0b4cd0922a3425a.tar.bz2 openembedded-core-a86f960f651c561bb104723aa0b4cd0922a3425a.tar.xz 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>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index e111b5a59..09f9ac11f 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) |