From: Bernd Kuhls Date: Mon, 13 Jan 2014 21:23:06 +0000 (+0100) Subject: ffmpeg: Add mips related configure options to fix build errors X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fff2505ebfc5deb7689ab33ca4684fc2f936488;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 35c03a3901..df8cb66e2e 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -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)