]> code.ossystems Code Review - openembedded-core.git/commitdiff
ffmpeg: disable unsupported extensions on mips32r1
authorAndreas Oberritter <obi@opendreambox.org>
Wed, 30 Nov 2016 23:26:13 +0000 (00:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Dec 2016 10:26:13 +0000 (10:26 +0000)
| Warning: the `dsp' extension requires MIPS32 revision 2 or greater
| Warning: the `dspr2' extension requires MIPS32 revision 2 or greater

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-multimedia/ffmpeg/ffmpeg_3.2.1.bb

index 5fca950a3f8e2a014571f6c0fabb90bc8ee0a248..9ff6c6707e416bcf48572c483eb107d1ba462fee 100644 (file)
@@ -89,6 +89,7 @@ EXTRA_OECONF = " \
     --libdir=${libdir} \
     --shlibdir=${libdir} \
     --datadir=${datadir}/ffmpeg \
+    ${@bb.utils.contains('AVAILTUNES', 'mips32r2', '', '--disable-mipsdsp --disable-mipsdspr2', d)} \
 "
 
 do_configure() {