summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/runqueue.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 71108eeed7..32966b4f7c 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -920,9 +920,11 @@ class RunQueueData:
920 runq_build = {} 920 runq_build = {}
921 921
922 for task in self.cooker.configuration.runall: 922 for task in self.cooker.configuration.runall:
923 if not task.startswith("do_"):
924 task = "do_{0}".format(task)
923 runall_tids = set() 925 runall_tids = set()
924 for tid in list(self.runtaskentries): 926 for tid in list(self.runtaskentries):
925 wanttid = fn_from_tid(tid) + ":do_%s" % task 927 wanttid = "{0}:{1}".format(fn_from_tid(tid), task)
926 if wanttid in delcount: 928 if wanttid in delcount:
927 self.runtaskentries[wanttid] = delcount[wanttid] 929 self.runtaskentries[wanttid] = delcount[wanttid]
928 if wanttid in self.runtaskentries: 930 if wanttid in self.runtaskentries:
@@ -949,7 +951,9 @@ class RunQueueData:
949 runq_build = {} 951 runq_build = {}
950 952
951 for task in self.cooker.configuration.runonly: 953 for task in self.cooker.configuration.runonly:
952 runonly_tids = { k: v for k, v in self.runtaskentries.items() if taskname_from_tid(k) == "do_%s" % task } 954 if not task.startswith("do_"):
955 task = "do_{0}".format(task)
956 runonly_tids = { k: v for k, v in self.runtaskentries.items() if taskname_from_tid(k) == task }
953 957
954 for tid in list(runonly_tids): 958 for tid in list(runonly_tids):
955 mark_active(tid,1) 959 mark_active(tid,1)