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