mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
ffmpeg: Upgrade to 3.1.1
Fix build on mips64 while on it. It was failing for mips64 with 3.1 too (From OE-Core rev: e6e228b36f2603540d33b06f515aed7d2f5b8a6d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
It will add -mips64r6 and -mips64r2 to cmdline which will
|
||||
cause conflicts
|
||||
|
||||
in OE we user mips32r2 and mips64r2 for mips arch versions
|
||||
so there is no benefit of detecting it automatically by
|
||||
poking at tools especially in cross env
|
||||
|
||||
Fixes errors like
|
||||
|
||||
linking -mnan=2008 module with previous -mnan=legacy modules
|
||||
failed to merge target specific data of file
|
||||
|
||||
-Khem
|
||||
Upstream-Status: Inappropriate [OE-Specific]
|
||||
|
||||
Index: ffmpeg-3.1.1/configure
|
||||
===================================================================
|
||||
--- ffmpeg-3.1.1.orig/configure
|
||||
+++ ffmpeg-3.1.1/configure
|
||||
@@ -5220,12 +5220,9 @@ elif enabled mips; then
|
||||
|
||||
# Enable minimum ISA based on selected options
|
||||
if enabled mips64; then
|
||||
- enabled mips64r6 && check_inline_asm_flags mips64r6 '"dlsa $0, $0, $0, 1"' '-mips64r6'
|
||||
enabled mips64r2 && check_inline_asm_flags mips64r2 '"dext $0, $0, 0, 1"' '-mips64r2'
|
||||
disabled mips64r6 && disabled mips64r2 && check_inline_asm_flags mips64r1 '"daddi $0, $0, 0"' '-mips64'
|
||||
else
|
||||
- enabled mips32r6 && check_inline_asm_flags mips32r6 '"aui $0, $0, 0"' '-mips32r6'
|
||||
- enabled mips32r5 && check_inline_asm_flags mips32r5 '"eretnc"' '-mips32r5'
|
||||
enabled mips32r2 && check_inline_asm_flags mips32r2 '"ext $0, $0, 0, 1"' '-mips32r2'
|
||||
disabled mips32r6 && disabled mips32r5 && disabled mips32r2 && check_inline_asm_flags mips32r1 '"addi $0, $0, 0"' '-mips32'
|
||||
fi
|
||||
@@ -13,10 +13,11 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
|
||||
file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
|
||||
|
||||
SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz"
|
||||
|
||||
SRC_URI[md5sum] = "24ef0c0d541c857c8bc39215619b126f"
|
||||
SRC_URI[sha256sum] = "919022430e2dad782fabccffdd6c4cae4e7029f84f0701aa662f036a9ca65423"
|
||||
SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \
|
||||
file://mips64_cpu_detection.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "4ba7033da5d9ac4d0391516c7e5d97e4"
|
||||
SRC_URI[sha256sum] = "71bc11f2a8202ef3fbe5e43a9a163b4b698855da39fb6216d9a4614eddd031db"
|
||||
|
||||
# Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717
|
||||
ARM_INSTRUCTION_SET = "arm"
|
||||
Reference in New Issue
Block a user