]> granicus.if.org Git - libvpx/commitdiff
build/make/Android.mk: correct rtcd template var refs
authorJames Zern <jzern@google.com>
Fri, 25 Nov 2016 01:51:10 +0000 (17:51 -0800)
committerJames Zern <jzern@google.com>
Fri, 25 Nov 2016 01:55:16 +0000 (17:55 -0800)
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

build/make/Android.mk

index c73a780e463c49199a752a6856688ee5782b9732..a88f90056e49104ab3f7fa02a9d36774b72b1ba1 100644 (file)
@@ -202,7 +202,7 @@ $$(rtcd_dep_template_SRCS): vpx_scale_rtcd.h
 $$(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