ref: a58e0b2a74b76fc218ac6a4ceffe7a8ec77557d7
parent: 120234fa174e2b64595a707a756e86f71a5462ac
author: James Zern <[email protected]>
date: Thu Nov 24 12:51:10 EST 2016
build/make/Android.mk: correct rtcd template var refs the expansion of findstring and rtcd_dep_template_CONFIG_ASM_ABIS needs to be deferred until the block is parsed as makefile syntax rather than eval time where rtcd_dep_template_CONFIG_ASM_ABIS will be unset. this ensures vpx_config.asm is properly created. Change-Id: I7c38c6c082da78397936467482789dd468adc316
--- a/build/make/Android.mk
+++ b/build/make/Android.mk
@@ -202,7 +202,7 @@
$$(rtcd_dep_template_SRCS): vpx_dsp_rtcd.h
rtcd_dep_template_CONFIG_ASM_ABIS := x86 x86_64 armeabi-v7a
-ifneq ($(findstring $(TARGET_ARCH_ABI),$(rtcd_dep_template_CONFIG_ASM_ABIS)),)
+ifneq ($$(findstring $(TARGET_ARCH_ABI),$$(rtcd_dep_template_CONFIG_ASM_ABIS)),)
$$(rtcd_dep_template_SRCS): vpx_config.asm
endif
endef