Add missing collect_include passing

pull/4837/head
Jimmy Brisson 2017-08-01 10:24:10 -05:00
parent ca0c2a8d92
commit 8b31078d58
1 changed files with 2 additions and 1 deletions

View File

@ -692,7 +692,8 @@ class mbedToolchain:
# Recursively scan features but ignore them in the current scan.
# These are dynamically added by the config system if the conditions are matched
def closure (dir_path=dir_path, base_path=base_path):
return self.scan_resources(dir_path, base_path=base_path)
return self.scan_resources(dir_path, base_path=base_path,
collect_ignores=resources.collect_ignores)
resources.features.add_lazy(d[8:], closure)
resources.ignore_dir(dir_path)
dirs.remove(d)