aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2015-01-20 21:20:01 +0100
committerBalint Reczey <balint@balintreczey.hu>2015-01-28 23:03:07 +0100
commit796839b7bef7dc442245273455305cc89e96c31f (patch)
treefbe15f09e3074a6dcf7c6b1c8c8708f81df9fc40 /tools
parent1f5fbf2763b230b16dd0001a326f1fd77aea1c09 (diff)
mips: Pass --disable-mips.* flags to FFmpeg to cover more platforms
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/ffmpeg/Makefile3
-rwxr-xr-xtools/depends/target/ffmpeg/autobuild.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/depends/target/ffmpeg/Makefile b/tools/depends/target/ffmpeg/Makefile
index 0e08dcf1e5..e780787516 100644
--- a/tools/depends/target/ffmpeg/Makefile
+++ b/tools/depends/target/ffmpeg/Makefile
@@ -47,6 +47,9 @@ endif
ifeq ($(findstring arm, $(CPU)), arm)
ffmpg_config += --enable-pic --disable-armv5te --disable-armv6t2
endif
+ifeq ($(findstring mips, $(CPU)), mips)
+ ffmpg_config += --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2
+endif
ifeq ($(Configuration), Release)
ffmpg_config += --disable-debug
endif
diff --git a/tools/depends/target/ffmpeg/autobuild.sh b/tools/depends/target/ffmpeg/autobuild.sh
index 543c10e901..97c56d6648 100755
--- a/tools/depends/target/ffmpeg/autobuild.sh
+++ b/tools/depends/target/ffmpeg/autobuild.sh
@@ -154,6 +154,9 @@ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" \
--enable-nonfree \
--enable-pthreads \
--enable-zlib \
+ --disable-mips32r2 \
+ --disable-mipsdspr1 \
+ --disable-mipsdspr2 \
${FLAGS}
make -j ${BUILDTHREADS}