summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-09 14:25:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-14 23:13:06 +0000
commitfdb8e7433cea45027a85dc9c74e1ff758517e2b6 (patch)
tree65746cf09a85c296c1e595939836da43070dff0d /bitbake
parent5de3800c3081dfa3db55f80788eaeda6dd7d9f29 (diff)
downloadopenembedded-core-contrib-fdb8e7433cea45027a85dc9c74e1ff758517e2b6.tar.gz
bitbake: toaster: implement BitbakeController.triggerEvent
This API will be used to pass data from Toaster to toaster_ui and buildinfohelper. (Bitbake rev: 6dca6fd47c5e8d66687fb07177e98cd531cd971d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/bldcontrol/bbcontroller.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
index 8b99318433..781ff73d1a 100644
--- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
@@ -55,6 +55,9 @@ class BitbakeController(object):
def getVariable(self, name):
return self._runCommand(["getVariable", name])
+ def triggerEvent(self, event):
+ return self._runCommand(["triggerEvent", event])
+
def build(self, targets, task = None):
if task is None:
task = "build"