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, 5 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 0f0525d764..944fe5cd26 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -88,7 +88,7 @@ SDK_TITLE_task-populate-sdk-ext = "${@d.getVar('DISTRO_NAME', True) or d.getVar(
88def clean_esdk_builddir(d, sdkbasepath): 88def clean_esdk_builddir(d, sdkbasepath):
89 """Clean up traces of the fake build for create_filtered_tasklist()""" 89 """Clean up traces of the fake build for create_filtered_tasklist()"""
90 import shutil 90 import shutil
91 cleanpaths = 'cache conf/sanity_info conf/templateconf.cfg tmp'.split() 91 cleanpaths = 'cache conf/sanity_info tmp'.split()
92 for pth in cleanpaths: 92 for pth in cleanpaths:
93 fullpth = os.path.join(sdkbasepath, pth) 93 fullpth = os.path.join(sdkbasepath, pth)
94 if os.path.isdir(fullpth): 94 if os.path.isdir(fullpth):
@@ -344,6 +344,10 @@ python copy_buildsystem () {
344 if line.strip() and not line.startswith('#'): 344 if line.strip() and not line.startswith('#'):
345 f.write(line) 345 f.write(line)
346 346
347 # Write a templateconf.cfg
348 with open(baseoutpath + '/conf/templateconf.cfg', 'w') as f:
349 f.write('meta/conf\n')
350
347 # Ensure any variables set from the external environment (by way of 351 # Ensure any variables set from the external environment (by way of
348 # BB_ENV_EXTRAWHITE) are set in the SDK's configuration 352 # BB_ENV_EXTRAWHITE) are set in the SDK's configuration
349 extralines = [] 353 extralines = []