diff options
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-x | bitbake/lib/bb/main.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index 8762f7220a..c8530fc3d8 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py | |||
@@ -383,6 +383,13 @@ def bitbake_main(configParams, configuration): | |||
383 | # Collect the feature set for the UI | 383 | # Collect the feature set for the UI |
384 | featureset = getattr(ui_module, "featureSet", []) | 384 | featureset = getattr(ui_module, "featureSet", []) |
385 | 385 | ||
386 | if configParams.server_only: | ||
387 | for param in ('prefile', 'postfile'): | ||
388 | value = getattr(configParams, param) | ||
389 | if value: | ||
390 | setattr(configuration, "%s_server" % param, value) | ||
391 | param = "%s_server" % param | ||
392 | |||
386 | if not configParams.remote_server: | 393 | if not configParams.remote_server: |
387 | # we start a server with a given configuration | 394 | # we start a server with a given configuration |
388 | server = start_server(servermodule, configParams, configuration, featureset) | 395 | server = start_server(servermodule, configParams, configuration, featureset) |