summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorBernd Kuhls <berndkuhls@hotmail.com>2014-01-13 22:23:06 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-01-14 22:44:17 +0100
commit0fff2505ebfc5deb7689ab33ca4684fc2f936488 (patch)
tree0cb0a2bf8345fc8935ce1c59bb5e0af856ac228a /package
parent80882ee66177160997ac449851aabce9e92e3333 (diff)
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>
Diffstat (limited to 'package')
-rw-r--r--package/ffmpeg/ffmpeg.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index 35c03a390..df8cb66e2 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)