summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-21 10:49:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-21 14:37:39 +0000
commitdb45ddeeaf3c6c598f4a8ca67730e662d4e22232 (patch)
treef1cc523a862d2e4c88cb36a52fc01fd9c105e4c5 /bitbake/lib/bb/ui
parent3e4d84aea3623d4eac2e5a094cf103b26859a6b6 (diff)
downloadpoky-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/ui')
-rw-r--r--bitbake/lib/bb/ui/knotty.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 9e58b31727..ea20ddc7e0 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -284,7 +284,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
284 284
285 if not params.observe_only: 285 if not params.observe_only:
286 params.updateFromServer(server) 286 params.updateFromServer(server)
287 params.updateToServer(server) 287 params.updateToServer(server, os.environ.copy())
288 cmdline = params.parseActions() 288 cmdline = params.parseActions()
289 if not cmdline: 289 if not cmdline:
290 print("Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.") 290 print("Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.")