diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2013-07-29 11:44:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-06 13:02:24 +0100 |
commit | bb8a265b0fa61a502c95b830ac82715e6685e2ab (patch) | |
tree | e9b9facdca1126f32037309e21d9dc30253367ea /bitbake/lib/bb/command.py | |
parent | 116219ce09c63dfdbf1f57563c6d0b400bd96823 (diff) | |
download | openembedded-core-contrib-bb8a265b0fa61a502c95b830ac82715e6685e2ab.tar.gz |
bitbake: hob & bitbake: append a value to a variable from hob throught bitbake
It was necessary to append ${TOPDIR}/recipes/images to BBFILES.
Implemented the mechanism to append a value to a variable: a command and
the method in cooker.
[YOCTO #4193]
(Bitbake rev: 4aedbee90bd92395c2460a68702e6ede00e256c9)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r-- | bitbake/lib/bb/command.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 5eb34aff3d..33a24406b5 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py @@ -153,7 +153,7 @@ class CommandsSync: varname = params[0] expand = True if len(params) > 1: - expand = params[1] + expand = (params[1] == "True") return command.cooker.data.getVar(varname, expand) getVariable.readonly = True @@ -230,7 +230,8 @@ class CommandsSync: var = params[0] val = params[1] default_file = params[2] - command.cooker.saveConfigurationVar(var, val, default_file) + op = params[3] + command.cooker.modifyConfigurationVar(var, val, default_file, op) def createConfigFile(self, command, params): """ |