make/common/Modules.gmk
changeset 49537 149dc554808c
parent 49126 f29637bb390e
child 49765 ee6f7a61f3a5
child 56403 d5703ecb5b0a
--- a/make/common/Modules.gmk	Thu Apr 05 20:31:57 2018 +0000
+++ b/make/common/Modules.gmk	Thu Apr 05 23:46:05 2018 +0200
@@ -394,12 +394,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))) \
     ))