1 # Output variables: 2 # libvpx_config_dir_mips 3 # libvpx_codec_srcs_c_mips 4 # libvpx_codec_srcs_asm_mips 5 6 ifneq ($(ARCH_HAS_BIGENDIAN),true) 7 ifeq ($(ARCH_MIPS_DSP_REV),2) 8 libvpx_target := mips-dspr2 9 else 10 libvpx_target := mips 11 endif 12 else 13 libvpx_target := generic 14 endif 15 16 libvpx_config_dir_mips := $(LOCAL_PATH)/$(libvpx_target) 17 libvpx_codec_srcs := $(sort $(shell cat $(libvpx_config_dir_mips)/libvpx_srcs.txt)) 18 19 # vpx_config.c is an auto-generated file in $(libvpx_target). 20 libvpx_codec_srcs_c_mips := $(addprefix libvpx/, $(filter-out vpx_config.c, \ 21 $(filter %.c, $(libvpx_codec_srcs)))) \ 22 $(libvpx_target)/vpx_config.c 23 24 libvpx_codec_srcs_asm_mips := $(filter %.asm.s, $(libvpx_codec_srcs)) 25