8073498: Enhance GensrcProperties.gmk to allow an alternative source root
authorerikj
Mon, 23 Feb 2015 11:37:14 +0100
changeset 29060 baa66d2b7e95
parent 29057 d6224d602145
child 29061 277536891bc1
8073498: Enhance GensrcProperties.gmk to allow an alternative source root Reviewed-by: tbell, mchung, ihse
make/MakeHelpers.gmk
--- a/make/MakeHelpers.gmk	Wed Jul 05 20:21:13 2017 +0200
+++ b/make/MakeHelpers.gmk	Mon Feb 23 11:37:14 2015 +0100
@@ -382,7 +382,7 @@
 	    && $(MAKE) $(MAKE_ARGS) \
 	          -f $$($1_FILE_PREFIX)-$2.gmk \
 	          $$(addprefix -I, $$(wildcard $$(addprefix $3/, $(MAKE_MAKEDIR_LIST)) \
-	          $$(addsuffix /$3, $$(addprefix $3/, $(MAKE_MAKEDIR_LIST))))) \
+	          $$(addsuffix /$$($1_MAKE_SUBDIR), $$(addprefix $3/, $(MAKE_MAKEDIR_LIST))))) \
 	          MODULE=$2)
         endif