summaryrefslogtreecommitdiff
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:21:53 +0000
commitc325b1470c2e009c6b228aa0720bff05452716e4 (patch)
tree1d49adbae4b030f2fe23e06cf71048adb0382fdc
parent5ff6cb920f8be9068a23f7bf0cb1b9a9ff1eda5b (diff)
downloadopenembedded-core-c325b1470c2e009c6b228aa0720bff05452716e4.tar.gz
openembedded-core-c325b1470c2e009c6b228aa0720bff05452716e4.tar.bz2
openembedded-core-c325b1470c2e009c6b228aa0720bff05452716e4.zip
x246: Disable Altivec asm when SPE is enabled.
asm code is written for Altivec, and should be disabled for powerpc SPE enabled targets. 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} \