8073498: Enhance GensrcProperties.gmk to allow an alternative source root

Reviewed-by: tbell, mchung, ihse
This commit is contained in:
Erik Joelsson 2015-02-23 11:37:14 +01:00
parent f3a755b2ab
commit 938840c853

View File

@ -382,7 +382,7 @@ define DeclareRecipeForModuleMakefile
&& $(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