summaryrefslogtreecommitdiffstats
path: root/scripts
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 23:26:28 +0000
commit0269219fbebd4e92b9505b3d76d593dbf4e2c539 (patch)
tree0d8ddfdee64f7422abb463602d7da8511c8228d5 /scripts
parent1ee08426d792ce27213dd411a885595d8435ae33 (diff)
downloadpoky-0269219fbebd4e92b9505b3d76d593dbf4e2c539.tar.gz
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. (From OE-Core rev: 38237b7ac53c416f85c4a70a61acafc3404c8b5f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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):
178 sdk_targets = config.get('SDK', 'sdk_targets') 178 sdk_targets = config.get('SDK', 'sdk_targets')
179 logger.info("Preparing build system... (This may take some time.)") 179 logger.info("Preparing build system... (This may take some time.)")
180 try: 180 try:
181 exec_build_env_command(config.init_path, basepath, 'bitbake %s' % sdk_targets) 181 exec_build_env_command(config.init_path, basepath, 'bitbake %s --setscene-only' % sdk_targets)
182 except: 182 except:
183 logger.error('bitbake %s failed' % sdk_targets) 183 logger.error('bitbake %s failed' % sdk_targets)
184 return -1 184 return -1