summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-08 18:26:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-11 15:54:34 +0000
commit38237b7ac53c416f85c4a70a61acafc3404c8b5f (patch)
tree3dd3cfa98e5d4153ccb4275f2563029fa9869e2e /scripts/lib
parentf11342f0c838b520828927c9d69f7c17309c1b48 (diff)
downloadopenembedded-core-38237b7ac53c416f85c4a70a61acafc3404c8b5f.tar.gz
openembedded-core-38237b7ac53c416f85c4a70a61acafc3404c8b5f.tar.bz2
openembedded-core-38237b7ac53c416f85c4a70a61acafc3404c8b5f.zip
populate_sdk_ext: Use new --setscene-only option to bitbake instead of workarounds
Rather than horrible workarounds, use the new --setscene-only option of bitbake to pre-populate the SDK structures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/devtool/sdk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/sdk.py b/scripts/lib/devtool/sdk.py
index 7faefabad8..0872df6bd1 100644
--- a/scripts/lib/devtool/sdk.py
+++ b/scripts/lib/devtool/sdk.py
@@ -178,7 +178,7 @@ def sdk_update(args, config, basepath, workspace):
sdk_targets = config.get('SDK', 'sdk_targets')
logger.info("Preparing build system... (This may take some time.)")
try:
- exec_build_env_command(config.init_path, basepath, 'bitbake %s' % sdk_targets)
+ exec_build_env_command(config.init_path, basepath, 'bitbake %s --setscene-only' % sdk_targets)
except:
logger.error('bitbake %s failed' % sdk_targets)
return -1