]> code.ossystems Code Review - openembedded-core.git/commit
ffmpeg: Fix build on mips
authorKhem Raj <raj.khem@gmail.com>
Tue, 11 May 2021 01:11:01 +0000 (18:11 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 May 2021 22:05:17 +0000 (23:05 +0100)
commitb254db634fc888ae75e843c8a9108e71ffff3f77
treeba23cbf5afee06719081c9967690570fa5527cef
parent7db3aed539044bed1c7d3cf7b91f55caed974fe2
ffmpeg: Fix build on mips

configure is not able to decode, right options to compiler, it needs to
be set according to default tune manually. Fixes build issue on mips
e.g.

 {standard input}: Assembler messages:
| {standard input}:2162: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dmult $22,$22'
| {standard input}:2164: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsrl $5,$5,32'
| make: *** [/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/ffmpeg/4.4-r0/ffmpeg-4.4/ffbuild/common.mak:67: libavcodec/aptxenc.o] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb