summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-09-18 13:15:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-22 12:19:44 +0100
commit5ee82d404897c6af8d7cdfc728c6ba007bfd76b7 (patch)
tree9d5c28759e88a8d98f36f8cb28c59dd42e31ea5b /bitbake/lib/bb/build.py
parentf7621f47d8dc765a921587172e15ec6a3c88f56a (diff)
downloadpoky-5ee82d404897c6af8d7cdfc728c6ba007bfd76b7.tar.gz
bitbake: bitbake: build, runqueue: adds info to the *runQueue* events
This patch adds task identifying information for all runQueue and sceneQueue events, and for bb.build.Task* events. This will allow matching event to specific tasks in the UI handlers processing these events. Adds RunQueueData functions to get the task name and task file for usage with the runQueue* events. Adds taskfile and taskname properties to bb.build.TaskBase. Adds taskfile and taskname properties to the *runQueue* events (Bitbake rev: b4a5e4be50d871a80dbe0993117d73f5ad82e38f) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 7ee500773d..8aec699e79 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -72,6 +72,8 @@ class TaskBase(event.Event):
72 def __init__(self, t, logfile, d): 72 def __init__(self, t, logfile, d):
73 self._task = t 73 self._task = t
74 self._package = d.getVar("PF", True) 74 self._package = d.getVar("PF", True)
75 self.taskfile = d.getVar("FILE", True)
76 self.taskname = self._task
75 self.logfile = logfile 77 self.logfile = logfile
76 event.Event.__init__(self) 78 event.Event.__init__(self)
77 self._message = "recipe %s: task %s: %s" % (d.getVar("PF", True), t, self.getDisplayName()) 79 self._message = "recipe %s: task %s: %s" % (d.getVar("PF", True), t, self.getDisplayName())