]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
populate_sdk_ext: record SDK_TARGETS in devtool.conf
authorChen Qi <Qi.Chen@windriver.com>
Mon, 3 Aug 2015 02:22:42 +0000 (10:22 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Thu, 20 Aug 2015 07:04:22 +0000 (15:04 +0800)
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>
meta/classes/populate_sdk_ext.bbclass

index d2ebcef8aacd02e6517c2fc0d5ae7565850d6eb1..151ae1d85fe5bde6f1c38d4de812a1e19d8a83b5 100644 (file)
@@ -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)