This is so that the excluded_targets passed to prune_lockedsigs can take a partial form such as nativesdk to filter based on partial matches.
Signed-off-by: Randy Witt <randy.e.w...@linux.intel.com> --- meta/lib/oe/copy_buildsystem.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py index 15af4eb..9d8f3a6 100644 --- a/meta/lib/oe/copy_buildsystem.py +++ b/meta/lib/oe/copy_buildsystem.py @@ -83,8 +83,11 @@ def prune_lockedsigs(allowed_tasks, excluded_targets, lockedsigs, pruned_output) for line in infile: if invalue: if line.endswith('\\\n'): - splitval = line.strip().split(':') - if splitval[1] in allowed_tasks and not splitval[0] in excluded_targets: + target, task = line.strip().split(':')[:2] + badmatch = ([x for x in excluded_targets.split() + if x in target]) + + if task in allowed_tasks and not badmatch: f.write(line) else: f.write(line) -- 2.5.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core