diff options
-rw-r--r-- | bitbake/lib/bb/build.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/uihelper.py | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 0c2c1ba126..271cda62c9 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -92,6 +92,7 @@ class TaskBase(event.Event): | |||
92 | def __init__(self, t, logfile, d): | 92 | def __init__(self, t, logfile, d): |
93 | self._task = t | 93 | self._task = t |
94 | self._package = d.getVar("PF") | 94 | self._package = d.getVar("PF") |
95 | self._mc = d.getVar("BB_CURRENT_MC") | ||
95 | self.taskfile = d.getVar("FILE") | 96 | self.taskfile = d.getVar("FILE") |
96 | self.taskname = self._task | 97 | self.taskname = self._task |
97 | self.logfile = logfile | 98 | self.logfile = logfile |
diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py index fda7cc2c7c..113fcedeaf 100644 --- a/bitbake/lib/bb/ui/uihelper.py +++ b/bitbake/lib/bb/ui/uihelper.py | |||
@@ -32,7 +32,10 @@ class BBUIHelper: | |||
32 | 32 | ||
33 | def eventHandler(self, event): | 33 | def eventHandler(self, event): |
34 | if isinstance(event, bb.build.TaskStarted): | 34 | if isinstance(event, bb.build.TaskStarted): |
35 | self.running_tasks[event.pid] = { 'title' : "%s %s" % (event._package, event._task), 'starttime' : time.time() } | 35 | if event._mc != "default": |
36 | self.running_tasks[event.pid] = { 'title' : "mc:%s:%s %s" % (event._mc, event._package, event._task), 'starttime' : time.time() } | ||
37 | else: | ||
38 | self.running_tasks[event.pid] = { 'title' : "%s %s" % (event._package, event._task), 'starttime' : time.time() } | ||
36 | self.running_pids.append(event.pid) | 39 | self.running_pids.append(event.pid) |
37 | self.needUpdate = True | 40 | self.needUpdate = True |
38 | elif isinstance(event, bb.build.TaskSucceeded): | 41 | elif isinstance(event, bb.build.TaskSucceeded): |