diff options
author | 2016-01-08 18:25:55 +0000 | |
---|---|---|
committer | 2016-01-08 23:03:04 +0000 | |
commit | e4a2aafa1650a227a04d92a8a0b31efaed2c310e (patch) | |
tree | 47b7a786e159f12e8cf845cbbf982cd51e7ac495 /lib/bb/main.py | |
parent | 4193e99adce8e88f12ac88d7578ad39575f7e346 (diff) | |
download | bitbake-e4a2aafa1650a227a04d92a8a0b31efaed2c310e.tar.gz |
main/runqueue: Add --setscene-only option to bitbake
Its turning out that we really need a way to have bitbake just run
the setscene tasks but not any real tasks, particularly for SDK
operations.
Add an option for this since its pretty straight forward. This allows
various nasty workarounds in OE-Core to be removed.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/main.py')
-rwxr-xr-x | lib/bb/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/main.py b/lib/bb/main.py index c0ae38ab6..bf59793db 100755 --- a/lib/bb/main.py +++ b/lib/bb/main.py @@ -219,6 +219,9 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters): parser.add_option("", "--no-setscene", help = "Do not run any setscene tasks. sstate will be ignored and everything needed, built.", action = "store_true", dest = "nosetscene", default = False) + parser.add_option("", "--setscene-only", help = "Only run setscene tasks, don't run any real tasks.", + action = "store_true", dest = "setsceneonly", default = False) + parser.add_option("", "--remote-server", help = "Connect to the specified server.", action = "store", dest = "remote_server", default = False) |