From: Chen Qi Date: Mon, 3 Aug 2015 02:22:42 +0000 (+0800) Subject: populate_sdk_ext: record SDK_TARGETS in devtool.conf X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=976a8a06f122246c20abebef8aa604733e1debfb;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index d2ebcef8aac..151ae1d85fe 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)