blob: f39e7b114d84825c79237f0ded999d3cf9c5083a [file] [log] [blame]
# Output variables:
# libvpx_config_dir_mips
# libvpx_codec_srcs_c_mips
ifneq ($(ARCH_HAS_BIGENDIAN),true)
ifeq ($(ARCH_MIPS_DSP_REV),2)
libvpx_target := config/mips32-dspr2
else
libvpx_target := config/mips32
endif
else
libvpx_target := config/generic
endif
libvpx_config_dir_mips := $(LOCAL_PATH)/$(libvpx_target)
libvpx_codec_srcs := $(sort $(shell cat $(libvpx_config_dir_mips)/libvpx_srcs.txt))
# vpx_config.c is an auto-generated file in $(libvpx_target).
libvpx_codec_srcs_c_mips := $(addprefix libvpx/, $(filter-out vpx_config.c, \
$(filter %.c, $(libvpx_codec_srcs)))) \
$(libvpx_target)/vpx_config.c