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 d659b6940a..6f35b612c2 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -522,12 +522,18 @@ python copy_buildsystem () {
522 # sdk_ext_postinst() below) thus the checksum we take here would always 522 # sdk_ext_postinst() below) thus the checksum we take here would always
523 # be different. 523 # be different.
524 manifest_file_list = ['conf/*'] 524 manifest_file_list = ['conf/*']
525 esdk_manifest_excludes = (d.getVar('ESDK_MANIFEST_EXCLUDES') or '').split()
526 esdk_manifest_excludes_list = []
527 for exclude_item in esdk_manifest_excludes:
528 esdk_manifest_excludes_list += glob.glob(os.path.join(baseoutpath, exclude_item))
525 manifest_file = os.path.join(baseoutpath, 'conf', 'sdk-conf-manifest') 529 manifest_file = os.path.join(baseoutpath, 'conf', 'sdk-conf-manifest')
526 with open(manifest_file, 'w') as f: 530 with open(manifest_file, 'w') as f:
527 for item in manifest_file_list: 531 for item in manifest_file_list:
528 for fn in glob.glob(os.path.join(baseoutpath, item)): 532 for fn in glob.glob(os.path.join(baseoutpath, item)):
529 if fn == manifest_file: 533 if fn == manifest_file:
530 continue 534 continue
535 if fn in esdk_manifest_excludes_list:
536 continue
531 chksum = bb.utils.sha256_file(fn) 537 chksum = bb.utils.sha256_file(fn)
532 f.write('%s\t%s\n' % (chksum, os.path.relpath(fn, baseoutpath))) 538 f.write('%s\t%s\n' % (chksum, os.path.relpath(fn, baseoutpath)))
533} 539}