summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 15cae71496..947ec741ac 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -157,6 +157,13 @@ python copy_buildsystem () {
157 # Ensure locked sstate cache objects are re-used without error 157 # Ensure locked sstate cache objects are re-used without error
158 f.write('SIGGEN_LOCKEDSIGS_CHECK_LEVEL = "warn"\n\n') 158 f.write('SIGGEN_LOCKEDSIGS_CHECK_LEVEL = "warn"\n\n')
159 159
160 # If you define a sdk_extraconf() function then it can contain additional config
161 extraconf = (d.getVar('sdk_extraconf', True) or '').strip()
162 if extraconf:
163 # Strip off any leading / trailing spaces
164 for line in extraconf.splitlines():
165 f.write(line.strip() + '\n')
166
160 f.write('require conf/locked-sigs.inc\n') 167 f.write('require conf/locked-sigs.inc\n')
161 f.write('require conf/work-config.inc\n') 168 f.write('require conf/work-config.inc\n')
162 169