From: James Zern Date: Wed, 29 Jul 2015 23:07:05 +0000 (-0700) Subject: Android.mk: fix *_rtcd.h deps for armeabi-v7a X-Git-Tag: v1.5.0~354^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21da45e570ad8fa841313614adb4c0f6ab6fac37;p=libvpx Android.mk: fix *_rtcd.h deps for armeabi-v7a strip '.neon' so *_rtcd.h depends on the correct file Change-Id: Iecdbbc34c9ce5c6d0a4b466332d52f4e6a0cb128 --- diff --git a/build/make/Android.mk b/build/make/Android.mk index 129e9d72e..9eb6dd280 100644 --- a/build/make/Android.mk +++ b/build/make/Android.mk @@ -166,17 +166,19 @@ endif # Add a dependency to force generation of the RTCD files. define rtcd_dep_template +rtcd_dep_template_SRCS := $(addprefix $(LOCAL_PATH)/, $(LOCAL_SRC_FILES)) +rtcd_dep_template_SRCS := $$(rtcd_dep_template_SRCS:.neon=) ifeq ($(CONFIG_VP8), yes) -$(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vp8_rtcd.h +$$(rtcd_dep_template_SRCS): vp8_rtcd.h endif ifeq ($(CONFIG_VP9), yes) -$(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vp9_rtcd.h +$$(rtcd_dep_template_SRCS): vp9_rtcd.h endif -$(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_scale_rtcd.h -$(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_dsp_rtcd.h +$$(rtcd_dep_template_SRCS): vpx_scale_rtcd.h +$$(rtcd_dep_template_SRCS): vpx_dsp_rtcd.h ifneq ($(findstring $(TARGET_ARCH_ABI),x86 x86_64),) -$(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_config.asm +$$(rtcd_dep_template_SRCS): vpx_config.asm endif endef