summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 0b012ebfc2..4ef8838e35 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -18,6 +18,7 @@ SDK_RELOCATE_AFTER_INSTALL_task-populate-sdk-ext = "0"
18SDK_LOCAL_CONF_WHITELIST ?= "" 18SDK_LOCAL_CONF_WHITELIST ?= ""
19SDK_LOCAL_CONF_BLACKLIST ?= "CONF_VERSION BB_NUMBER_THREADS PARALLEL_MAKE PRSERV_HOST" 19SDK_LOCAL_CONF_BLACKLIST ?= "CONF_VERSION BB_NUMBER_THREADS PARALLEL_MAKE PRSERV_HOST"
20SDK_INHERIT_BLACKLIST ?= "buildhistory icecc" 20SDK_INHERIT_BLACKLIST ?= "buildhistory icecc"
21SDK_UPDATE_URL ?= ""
21 22
22SDK_TARGETS ?= "${PN}" 23SDK_TARGETS ?= "${PN}"
23OE_INIT_ENV_SCRIPT ?= "oe-init-build-env" 24OE_INIT_ENV_SCRIPT ?= "oe-init-build-env"
@@ -85,6 +86,11 @@ python copy_buildsystem () {
85 config.set('General', 'bitbake_subdir', conf_bbpath) 86 config.set('General', 'bitbake_subdir', conf_bbpath)
86 config.set('General', 'init_path', conf_initpath) 87 config.set('General', 'init_path', conf_initpath)
87 config.set('General', 'core_meta_subdir', core_meta_subdir) 88 config.set('General', 'core_meta_subdir', core_meta_subdir)
89 config.add_section('SDK')
90 config.set('SDK', 'sdk_targets', d.getVar('SDK_TARGETS', True))
91 updateurl = d.getVar('SDK_UPDATE_URL', True)
92 if updateurl:
93 config.set('SDK', 'updateserver', updateurl)
88 bb.utils.mkdirhier(os.path.join(baseoutpath, 'conf')) 94 bb.utils.mkdirhier(os.path.join(baseoutpath, 'conf'))
89 with open(os.path.join(baseoutpath, 'conf', 'devtool.conf'), 'w') as f: 95 with open(os.path.join(baseoutpath, 'conf', 'devtool.conf'), 'w') as f:
90 config.write(f) 96 config.write(f)