summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/copy_buildsystem.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/copy_buildsystem.py')
-rw-r--r--meta/lib/oe/copy_buildsystem.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py
index 15af4eb84b..a5ca3df320 100644
--- a/meta/lib/oe/copy_buildsystem.py
+++ b/meta/lib/oe/copy_buildsystem.py
@@ -75,7 +75,7 @@ def generate_locked_sigs(sigfile, d):
75 tasks = ['%s.%s' % (v[2], v[1]) for v in depd.itervalues()] 75 tasks = ['%s.%s' % (v[2], v[1]) for v in depd.itervalues()]
76 bb.parse.siggen.dump_lockedsigs(sigfile, tasks) 76 bb.parse.siggen.dump_lockedsigs(sigfile, tasks)
77 77
78def prune_lockedsigs(allowed_tasks, excluded_targets, lockedsigs, pruned_output): 78def prune_lockedsigs(excluded_tasks, excluded_targets, lockedsigs, pruned_output):
79 with open(lockedsigs, 'r') as infile: 79 with open(lockedsigs, 'r') as infile:
80 bb.utils.mkdirhier(os.path.dirname(pruned_output)) 80 bb.utils.mkdirhier(os.path.dirname(pruned_output))
81 with open(pruned_output, 'w') as f: 81 with open(pruned_output, 'w') as f:
@@ -84,7 +84,7 @@ def prune_lockedsigs(allowed_tasks, excluded_targets, lockedsigs, pruned_output)
84 if invalue: 84 if invalue:
85 if line.endswith('\\\n'): 85 if line.endswith('\\\n'):
86 splitval = line.strip().split(':') 86 splitval = line.strip().split(':')
87 if splitval[1] in allowed_tasks and not splitval[0] in excluded_targets: 87 if not splitval[1] in excluded_tasks and not splitval[0] in excluded_targets:
88 f.write(line) 88 f.write(line)
89 else: 89 else:
90 f.write(line) 90 f.write(line)