ffmpeg: Add mips related configure options to fix build errors

http://autobuild.buildroot.net/results/aa5/aa5cb447342af9995d8f198eb0a151fe6e3d5c19//
http://autobuild.buildroot.net/results/355/355f56f6b466521e2c4c71f69b06a0ca2a56949b//

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2014-01-13 22:23:06 +01:00 committed by Peter Korsgaard
parent 80882ee661
commit 0fff2505eb

View File

@ -281,6 +281,32 @@ ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
FFMPEG_CONF_OPT += --enable-neon
endif
ifeq ($(BR2_MIPS_SOFT_FLOAT),y)
FFMPEG_CONF_OPT += \
--disable-mipsfpu
else
FFMPEG_CONF_OPT += \
--enable-mipsfpu
endif
ifeq ($(BR2_mips_32r2),y)
FFMPEG_CONF_OPT += \
--enable-mips32r2
else
FFMPEG_CONF_OPT += \
--disable-mips32r2
endif
ifeq ($(BR2_mips_64r2),y)
FFMPEG_CONF_OPT += \
--enable-mipsdspr1 \
--enable-mipsdspr2
else
FFMPEG_CONF_OPT += \
--disable-mipsdspr1 \
--disable-mipsdspr2
endif
# Set powerpc altivec appropriately
ifeq ($(BR2_powerpc),y)
ifeq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),y)