diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2015-08-03 10:22:42 +0800 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2015-08-20 15:04:22 +0800 |
commit | 976a8a06f122246c20abebef8aa604733e1debfb (patch) | |
tree | 2946e58f53169b0aa0f8ea436fc2f3892d533355 /meta | |
parent | 93eb66c992c14c201eb780e7bde2256da10ee131 (diff) | |
download | openembedded-core-contrib-976a8a06f122246c20abebef8aa604733e1debfb.tar.gz |
populate_sdk_ext: record SDK_TARGETS in devtool.conf
Record the value of SDK_TARGETS for later use of devtool's sdk plugin
for updating SDK.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index d2ebcef8aa..151ae1d85f 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass @@ -84,6 +84,8 @@ python copy_buildsystem () { config.set('General', 'bitbake_subdir', conf_bbpath) config.set('General', 'init_path', conf_initpath) config.set('General', 'core_meta_subdir', core_meta_subdir) + config.add_section('SDK') + config.set('SDK', 'sdk_targets', d.getVar('SDK_TARGETS', True)) bb.utils.mkdirhier(os.path.join(baseoutpath, 'conf')) with open(os.path.join(baseoutpath, 'conf', 'devtool.conf'), 'w') as f: config.write(f) |