summaryrefslogtreecommitdiffstats
path: root/bitbake-dev
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev')
-rw-r--r--bitbake-dev/lib/bb/command.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/command.py b/bitbake-dev/lib/bb/command.py
index 293202be54..0d4ef42569 100644
--- a/bitbake-dev/lib/bb/command.py
+++ b/bitbake-dev/lib/bb/command.py
@@ -125,6 +125,15 @@ class CommandsSync:
125 125
126 return bb.data.getVar(varname, command.cooker.configuration.data, expand) 126 return bb.data.getVar(varname, command.cooker.configuration.data, expand)
127 127
128 def setVariable(self, command, params):
129 """
130 Set the value of variable in configuration.data
131 """
132 varname = params[0]
133 value = params[1]
134 bb.data.setVar(varname, value, command.cooker.configuration.data)
135
136
128class CommandsAsync: 137class CommandsAsync:
129 """ 138 """
130 A class of asynchronous commands 139 A class of asynchronous commands