* [PATCH] pixman: Handle PowerPC without Altivec
@ 2021-08-08 4:51 Anton Blanchard
0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2021-08-08 4:51 UTC (permalink / raw)
To: openembedded-core, anuj.mittal
Configure with -Dvmx=enabled/disabled based on the Altivec feature.
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
---
meta/recipes-graphics/xorg-lib/pixman_0.40.0.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.40.0.bb b/meta/recipes-graphics/xorg-lib/pixman_0.40.0.bb
index 5a3bb22ec3..723af72796 100644
--- a/meta/recipes-graphics/xorg-lib/pixman_0.40.0.bb
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.40.0.bb
@@ -32,4 +32,8 @@ EXTRA_OEMESON = "-Dgtk=disabled -Dlibpng=disabled"
# linking mips:loongson_2f module with previous mips:isa64 modules
EXTRA_OEMESON += "-Dloongson-mmi=disabled"
+EXTRA_OEMESON:append:class-target:powerpc = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
+EXTRA_OEMESON:append:class-target:powerpc64 = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
+EXTRA_OEMESON:append:class-target:powerpc64le = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
+
BBCLASSEXTEND = "native nativesdk"
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-08 4:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-08 4:51 [PATCH] pixman: Handle PowerPC without Altivec Anton Blanchard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.