external-toolchain: filter out .debug for parse time check

The skip message shows all the paths we're searching for, and it's bloated
with a ton of .debug entries, so remove them, we don't care about them in this
context anyway.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2015-07-24 14:10:06 -07:00
parent e6abcdeaeb
commit 5b9ac9e636

View File

@@ -92,6 +92,7 @@ python () {
pattern = d.getVar('EXTERNAL_PROVIDE_PATTERN', True)
if pattern is None:
files = list(gather_pkg_files(d))
files = filter(lambda f: '.debug' not in f, files)
expanded = expand_paths(files, mirrors)
paths = search_sysroots(expanded, sysroots)
if not any(f for p, f in paths):