summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-02 10:02:53 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:37:10 +0000
commit993bc7eacd25a3f20825a892b1ebd92ed806bbda (patch)
tree063e5a0a2632f283a9040356b144ab4ecb31f40f /bitbake/lib
parent53e981e583cb15f59e86453b449688a38268912e (diff)
downloadpoky-993bc7eacd25a3f20825a892b1ebd92ed806bbda.tar.gz
bitbake: toaster: implement BitbakeController.getVariable
Added new API to get value of bitbake variable from bitbake server. The API will be used to update INHERIT variable instead of writing it to the toaster configuration files. (Bitbake rev: effc371e3a4a2262e53e9e560c7c08cffad195da) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-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 3d98ad7e1e..ba009313e7 100644
--- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
@@ -52,6 +52,9 @@ class BitbakeController(object):
52 def setVariable(self, name, value): 52 def setVariable(self, name, value):
53 return self._runCommand(["setVariable", name, value]) 53 return self._runCommand(["setVariable", name, value])
54 54
55 def getVariable(self, name):
56 return self._runCommand(["getVariable", name])
57
55 def build(self, targets, task = None): 58 def build(self, targets, task = None):
56 if task is None: 59 if task is None:
57 task = "build" 60 task = "build"