summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 1c1bb47687..a6badb84c6 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -188,7 +188,15 @@ python copy_buildsystem () {
188 # Hide the config information from bitbake output (since it's fixed within the SDK) 188 # Hide the config information from bitbake output (since it's fixed within the SDK)
189 f.write('BUILDCFG_HEADER = ""\n') 189 f.write('BUILDCFG_HEADER = ""\n')
190 190
191 # Allow additional config through sdk-extra.conf
192 fn = bb.cookerdata.findConfigFile('sdk-extra.conf', d)
193 if fn:
194 with open(fn, 'r') as xf:
195 for line in xf:
196 f.write(line)
197
191 # If you define a sdk_extraconf() function then it can contain additional config 198 # If you define a sdk_extraconf() function then it can contain additional config
199 # (Though this is awkward; sdk-extra.conf should probably be used instead)
192 extraconf = (d.getVar('sdk_extraconf', True) or '').strip() 200 extraconf = (d.getVar('sdk_extraconf', True) or '').strip()
193 if extraconf: 201 if extraconf:
194 # Strip off any leading / trailing spaces 202 # Strip off any leading / trailing spaces