summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2012-09-17 17:43:17 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-24 15:35:31 +0100
commiteed98e4666cafa139900f9a84c0be8665c89b04b (patch)
tree2a53e70e6c94350104853d51766b29851e00cac3 /bitbake/lib
parent86cf6daff907aed4d14e55b91d2033e6cb0b3925 (diff)
downloadpoky-eed98e4666cafa139900f9a84c0be8665c89b04b.tar.gz
bitbake: runqueue: Add --no-setscene to skip all setscene tasks
Mainly intended for the purpose of debugging or forcing builds from source, the --no-setscene will prevent any setscene tasks from running. (Bitbake rev: 440e479f3e248482c38c149643403c6907ac7034) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/runqueue.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index b90b7e7e4a..75797e2520 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -692,13 +692,14 @@ class RunQueueData:
692 stampfnwhitelist.append(fn) 692 stampfnwhitelist.append(fn)
693 self.stampfnwhitelist = stampfnwhitelist 693 self.stampfnwhitelist = stampfnwhitelist
694 694
695 # Interate over the task list looking for tasks with a 'setscene' function 695 # Iterate over the task list looking for tasks with a 'setscene' function
696 self.runq_setscene = [] 696 self.runq_setscene = []
697 for task in range(len(self.runq_fnid)): 697 if not self.cooker.configuration.nosetscene:
698 setscene = taskData.gettask_id(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task] + "_setscene", False) 698 for task in range(len(self.runq_fnid)):
699 if not setscene: 699 setscene = taskData.gettask_id(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task] + "_setscene", False)
700 continue 700 if not setscene:
701 self.runq_setscene.append(task) 701 continue
702 self.runq_setscene.append(task)
702 703
703 def invalidate_task(fn, taskname, error_nostamp): 704 def invalidate_task(fn, taskname, error_nostamp):
704 taskdep = self.dataCache.task_deps[fn] 705 taskdep = self.dataCache.task_deps[fn]