diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-21 10:49:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-21 14:37:39 +0000 |
commit | db45ddeeaf3c6c598f4a8ca67730e662d4e22232 (patch) | |
tree | f1cc523a862d2e4c88cb36a52fc01fd9c105e4c5 /bitbake/lib/bb/command.py | |
parent | 3e4d84aea3623d4eac2e5a094cf103b26859a6b6 (diff) | |
download | poky-db45ddeeaf3c6c598f4a8ca67730e662d4e22232.tar.gz |
bitbake: command/cooker/knotty: Fix memres handling of command environment changes
If the environment changes, we need memory resident bitbake to adapt to those
changes. This adds in functionality to handle this alongside the configuration
option handling code. This means that the common usage:
MACHINE=X bitbake Y
now works with the memory resident server.
(Bitbake rev: 4d1343010da757a0c126bc22475354da44aaf8e3)
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 60f9ac08aa..29b0a53e98 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -273,7 +273,8 @@ class CommandsSync: | |||
273 | 273 | ||
274 | def updateConfig(self, command, params): | 274 | def updateConfig(self, command, params): |
275 | options = params[0] | 275 | options = params[0] |
276 | command.cooker.updateConfigOpts(options) | 276 | environment = params[1] |
277 | command.cooker.updateConfigOpts(options, environment) | ||
277 | 278 | ||
278 | class CommandsAsync: | 279 | class CommandsAsync: |
279 | """ | 280 | """ |