summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/bin/bitbake2
-rw-r--r--bitbake/lib/bb/runqueue.py13
2 files changed, 9 insertions, 6 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index ed2ff06309..8c46024258 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -174,6 +174,8 @@ Default BBFILES are the .bb files in the current directory.""")
174 174
175 parser.add_option("-B", "--bind", help = "The name/address for the bitbake server to bind to", 175 parser.add_option("-B", "--bind", help = "The name/address for the bitbake server to bind to",
176 action = "store", dest = "bind", default = False) 176 action = "store", dest = "bind", default = False)
177 parser.add_option("", "--no-setscene", help = "Do not run any setscene tasks, forces builds",
178 action = "store_true", dest = "nosetscene", default = False)
177 options, args = parser.parse_args(sys.argv) 179 options, args = parser.parse_args(sys.argv)
178 180
179 configuration = BBConfiguration(options) 181 configuration = BBConfiguration(options)
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]