summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-12-19 09:19:14 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-22 08:50:16 +0000
commit193aa1a0a8f09febde1e9b03ecc97693bc6ff215 (patch)
tree0df22e8a42a9dce466ca4cd7933b0001d944f3cf
parent6eb35af19aab8f45493ca8d6c3967b6c761825d2 (diff)
downloadpoky-193aa1a0a8f09febde1e9b03ecc97693bc6ff215.tar.gz
x264: Fix build on mips architectures
Disable asm to fix | You specified a pre-MSA CPU in your CFLAGS. | If you really want to run on such a CPU, configure with --disable-asm. (From OE-Core rev: 302124c1cc8353f4d0e13ab9ba9057d6b3862bde) 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>
-rw-r--r--meta/recipes-multimedia/x264/x264_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/x264/x264_git.bb b/meta/recipes-multimedia/x264/x264_git.bb
index e790681ad3..1dafdd53ae 100644
--- a/meta/recipes-multimedia/x264/x264_git.bb
+++ b/meta/recipes-multimedia/x264/x264_git.bb
@@ -24,6 +24,7 @@ X264_DISABLE_ASM = ""
24X264_DISABLE_ASM_armv4 = "--disable-asm" 24X264_DISABLE_ASM_armv4 = "--disable-asm"
25X264_DISABLE_ASM_armv5 = "--disable-asm" 25X264_DISABLE_ASM_armv5 = "--disable-asm"
26X264_DISABLE_ASM_powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}" 26X264_DISABLE_ASM_powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}"
27X264_DISABLE_ASM_mipsarch = "${@bb.utils.contains("TUNE_FEATURES", "r6", "", "--disable-asm", d)}"
27 28
28EXTRA_OECONF = '--prefix=${prefix} \ 29EXTRA_OECONF = '--prefix=${prefix} \
29 --host=${HOST_SYS} \ 30 --host=${HOST_SYS} \