[oe-commits] Chen Qi : populate_sdk_ext: record SDK_TARGETS in devtool.conf
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 25 22:28:18 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: c7e6a7a535d1f243c998661990759db50e91c7cb
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c7e6a7a535d1f243c998661990759db50e91c7cb
Author: Chen Qi <Qi.Chen at windriver.com>
Date: Mon Aug 3 10:22:42 2015 +0800
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 at windriver.com>
---
meta/classes/populate_sdk_ext.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index d2ebcef..151ae1d 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)
More information about the Openembedded-commits
mailing list