make/common/Modules.gmk
branchhttp-client-branch
changeset 56403 d5703ecb5b0a
parent 56255 39e28481492d
parent 49537 149dc554808c
child 56451 9585061fdb04
--- a/make/common/Modules.gmk	Mon Apr 09 12:59:06 2018 +0100
+++ b/make/common/Modules.gmk	Mon Apr 09 14:27:42 2018 +0100
@@ -393,12 +393,11 @@
 endif
 LEGAL_SUBDIRS += share/legal
 
-# Find all legal dirs for a particular module
+# Find all legal src dirs for a particular module
 # $1 - Module to find legal dirs for
-FindModuleLegalDirs = \
+FindModuleLegalSrcDirs = \
     $(strip $(wildcard \
-        $(addsuffix /$(strip $1), $(SUPPORT_OUTPUTDIR)/modules_legal \
-            $(IMPORT_MODULES_LEGAL)) \
+        $(addsuffix /$(strip $1), $(IMPORT_MODULES_LEGAL)) \
         $(foreach sub, $(LEGAL_SUBDIRS), $(addsuffix /$(strip $1)/$(sub), $(TOP_SRC_DIRS))) \
     ))