summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-20 21:15:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-22 12:36:40 +0000
commitd156f2ce333c7bdd9573daab9f27c2bd10888c74 (patch)
tree4ca53caf22ee6c90a15b62ce38f0ce1f73afc08a /bitbake/lib/bb/ui
parent5d620b7f90a6d43967b271bc165d23239b25d61c (diff)
downloadpoky-d156f2ce333c7bdd9573daab9f27c2bd10888c74.tar.gz
bitbake: build/uihelper: Show better information about multiconfig tasks on UI
Currently the UI shows X is building, possibly multiple times but doesn't say which of the multilibs that might be. This adds a prefix to the task name so the mulitconfig being built can be identified. (Bitbake rev: d93ddd185dde53f50aea06ada094bb0d9b5ba4f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r--bitbake/lib/bb/ui/uihelper.py5
1 files changed, 4 insertions, 1 deletions
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):