From 699a32217a54129ec7e4a3758d729155e16cbf6e Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Wed, 25 Nov 2015 13:14:23 +0000 Subject: [PATCH] Fix generated-sources-dir-for for COMMON When the 4th argument specified is non-empty then it attempts to use either HOST_OUT_GEN_COMMON or TARGET_OUT_GEN_COMMON depending on whether the 3rd argument is non-empty or not respectively. Unfortunately, those two variables do not exist, the correct names for those variables is HOST_OUT_COMMON_GEN and TARGET_OUT_COMMON_GET. Change-Id: I66edb02824c06e0f504ebe04ff80ddbd77a16c95 --- core/definitions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/definitions.mk b/core/definitions.mk index 0089865ab8..e4212508f4 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -530,7 +530,7 @@ $(strip \ $(error $(LOCAL_PATH): Name not defined in call to generated-sources-dir-for)) \ $(eval _idfPrefix := $(if $(strip $(3)),HOST,TARGET)) \ $(if $(filter $(_idfPrefix)-$(_idfClass),$(COMMON_MODULE_CLASSES))$(4), \ - $(eval _idfIntBase := $($(_idfPrefix)_OUT_GEN_COMMON)) \ + $(eval _idfIntBase := $($(_idfPrefix)_OUT_COMMON_GEN)) \ , \ $(eval _idfIntBase := $($(_idfPrefix)_OUT_GEN)) \ ) \