summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Nyström <david.c.nystrom@gmail.com>2014-02-21 22:59:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-22 15:22:24 +0000
commit6a708c3edb5da3d73730eaf21d8c6c4f79972e9d (patch)
treeafb66887e51ca3544779e704c06e6a39761a1143
parent8d7dd9ae471ad6154cd4e59152560ff5f24b3c2a (diff)
downloadpoky-6a708c3edb5da3d73730eaf21d8c6c4f79972e9d.tar.gz
poky-6a708c3edb5da3d73730eaf21d8c6c4f79972e9d.tar.bz2
poky-6a708c3edb5da3d73730eaf21d8c6c4f79972e9d.zip
x246: Disable Altivec asm when SPE is enabled.
asm code is written for Altivec, and should be disabled for powerpc SPE enabled targets. (From OE-Core rev: c325b1470c2e009c6b228aa0720bff05452716e4) Signed-off-by: David Nyström <david.c.nystrom@gmail.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 5ebf885c6b..0e305eaa02 100644
--- a/meta/recipes-multimedia/x264/x264_git.bb
+++ b/meta/recipes-multimedia/x264/x264_git.bb
@@ -23,6 +23,7 @@ inherit lib_package pkgconfig
X264_DISABLE_ASM = ""
X264_DISABLE_ASM_armv4 = "--disable-asm"
X264_DISABLE_ASM_armv5 = "--disable-asm"
+X264_DISABLE_ASM_powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}"
EXTRA_OECONF = '--prefix=${prefix} \
--host=${HOST_SYS} \