forked from openkylin/platform_build
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
This commit is contained in:
parent
84639d127b
commit
699a32217a
|
@ -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)) \
|
||||
) \
|
||||
|
|
Loading…
Reference in New Issue