summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index d573ed460e..010b085010 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -39,7 +39,7 @@ def taskname_from_tid(tid):
39 return tid.rsplit(":", 1)[1] 39 return tid.rsplit(":", 1)[1]
40 40
41def mc_from_tid(tid): 41def mc_from_tid(tid):
42 if tid.startswith('multiconfig:'): 42 if tid.startswith('mc:'):
43 return tid.split(':')[1] 43 return tid.split(':')[1]
44 return "" 44 return ""
45 45
@@ -48,12 +48,12 @@ def split_tid(tid):
48 return (mc, fn, taskname) 48 return (mc, fn, taskname)
49 49
50def split_tid_mcfn(tid): 50def split_tid_mcfn(tid):
51 if tid.startswith('multiconfig:'): 51 if tid.startswith('mc:'):
52 elems = tid.split(':') 52 elems = tid.split(':')
53 mc = elems[1] 53 mc = elems[1]
54 fn = ":".join(elems[2:-1]) 54 fn = ":".join(elems[2:-1])
55 taskname = elems[-1] 55 taskname = elems[-1]
56 mcfn = "multiconfig:" + mc + ":" + fn 56 mcfn = "mc:" + mc + ":" + fn
57 else: 57 else:
58 tid = tid.rsplit(":", 1) 58 tid = tid.rsplit(":", 1)
59 mc = "" 59 mc = ""
@@ -65,7 +65,7 @@ def split_tid_mcfn(tid):
65 65
66def build_tid(mc, fn, taskname): 66def build_tid(mc, fn, taskname):
67 if mc: 67 if mc:
68 return "multiconfig:" + mc + ":" + fn + ":" + taskname 68 return "mc:" + mc + ":" + fn + ":" + taskname
69 return fn + ":" + taskname 69 return fn + ":" + taskname
70 70
71class RunQueueStats: 71class RunQueueStats: