changeset 37652:67e98335455c

8155629: MODULES_FILTER should apply to imported modules Reviewed-by: dholmes, tbell, mchung
author erikj
date Thu, 28 Apr 2016 17:14:59 +0200
parents 993399568864
children 3aff5316640d
files make/common/Modules.gmk
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/Modules.gmk	Thu Apr 28 16:18:59 2016 +0200
+++ b/make/common/Modules.gmk	Thu Apr 28 17:14:59 2016 +0200
@@ -186,7 +186,8 @@
     $(call GetModuleNameFromModuleInfo, $(MODULE_INFOS))))
 
 FindImportedModules = \
-    $(if $(IMPORT_MODULES_CLASSES), $(notdir $(wildcard $(IMPORT_MODULES_CLASSES)/*)))
+    $(filter-out $(MODULES_FILTER), \
+    $(if $(IMPORT_MODULES_CLASSES), $(notdir $(wildcard $(IMPORT_MODULES_CLASSES)/*))))
 
 # Find all source dirs for a particular module
 # $1 - Module to find source dirs for