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.bbclass10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 086f55df0c..9fda1c9e78 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -379,6 +379,11 @@ python copy_buildsystem () {
379 f.write('require conf/locked-sigs.inc\n') 379 f.write('require conf/locked-sigs.inc\n')
380 f.write('require conf/unlocked-sigs.inc\n') 380 f.write('require conf/unlocked-sigs.inc\n')
381 381
382 if os.path.exists(builddir + '/cache/bb_unihashes.dat'):
383 bb.parse.siggen.save_unitaskhashes()
384 bb.utils.mkdirhier(os.path.join(baseoutpath, 'cache'))
385 shutil.copyfile(builddir + '/cache/bb_unihashes.dat', baseoutpath + '/cache/bb_unihashes.dat')
386
382 # Write a templateconf.cfg 387 # Write a templateconf.cfg
383 with open(baseoutpath + '/conf/templateconf.cfg', 'w') as f: 388 with open(baseoutpath + '/conf/templateconf.cfg', 'w') as f:
384 f.write('meta/conf\n') 389 f.write('meta/conf\n')
@@ -440,6 +445,11 @@ python copy_buildsystem () {
440 else: 445 else:
441 tasklistfn = None 446 tasklistfn = None
442 447
448 if os.path.exists(builddir + '/cache/bb_unihashes.dat'):
449 bb.parse.siggen.save_unitaskhashes()
450 bb.utils.mkdirhier(os.path.join(baseoutpath, 'cache'))
451 shutil.copyfile(builddir + '/cache/bb_unihashes.dat', baseoutpath + '/cache/bb_unihashes.dat')
452
443 # Add packagedata if enabled 453 # Add packagedata if enabled
444 if d.getVar('SDK_INCLUDE_PKGDATA') == '1': 454 if d.getVar('SDK_INCLUDE_PKGDATA') == '1':
445 lockedsigs_base = d.getVar('WORKDIR') + '/locked-sigs-base.inc' 455 lockedsigs_base = d.getVar('WORKDIR') + '/locked-sigs-base.inc'