From c511e96e01b72919bb0cb9d69b812926e9dfbe05 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Tue, 1 Aug 2017 10:24:10 -0500 Subject: [PATCH] Add missing collect_include passing --- tools/toolchains/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/toolchains/__init__.py b/tools/toolchains/__init__.py index 9281bb1c94..82964ab461 100644 --- a/tools/toolchains/__init__.py +++ b/tools/toolchains/__init__.py @@ -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)