[oe-commits] =?UTF-8?Q?David=20Nystr=C3=B6m=20?=: x246: Disable Altivec asm when SPE is enabled.

git at git.openembedded.org git at git.openembedded.org
Mon Feb 24 16:14:37 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: c325b1470c2e009c6b228aa0720bff05452716e4
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c325b1470c2e009c6b228aa0720bff05452716e4

Author: David Nyström <david.c.nystrom at gmail.com>
Date:   Fri Feb 21 22:59:23 2014 +0100

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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-multimedia/x264/x264_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-multimedia/x264/x264_git.bb b/meta/recipes-multimedia/x264/x264_git.bb
index 5ebf885..0e305ea 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} \



More information about the Openembedded-commits mailing list