summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/sdk.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/devtool/sdk.py b/scripts/lib/devtool/sdk.py
index 0872df6bd1..68139aaf3c 100644
--- a/scripts/lib/devtool/sdk.py
+++ b/scripts/lib/devtool/sdk.py
@@ -175,12 +175,12 @@ def sdk_update(args, config, basepath, workspace):
175 175
176 if not args.skip_prepare: 176 if not args.skip_prepare:
177 # Run bitbake command for the whole SDK 177 # Run bitbake command for the whole SDK
178 sdk_targets = config.get('SDK', 'sdk_targets') 178 sdk_update_targets = config.get('SDK', 'sdk_update_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 --setscene-only' % sdk_targets) 181 exec_build_env_command(config.init_path, basepath, 'bitbake %s --setscene-only' % sdk_update_targets)
182 except: 182 except:
183 logger.error('bitbake %s failed' % sdk_targets) 183 logger.error('bitbake %s failed' % sdk_update_targets)
184 return -1 184 return -1
185 return 0 185 return 0
186 186