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