diff options
| author | Anton Blanchard <anton@ozlabs.org> | 2021-08-08 14:51:21 +1000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-12 06:26:16 +0100 |
| commit | fb12b7a1cdc015fc27a46aec040dfa8435dd1c91 (patch) | |
| tree | cbcb1fc1fc181a2287891e934e2cc037918b170b | |
| parent | bba3e17098d5ef64a47a898c358ec9847577e2cd (diff) | |
| download | poky-fb12b7a1cdc015fc27a46aec040dfa8435dd1c91.tar.gz | |
pixman: Handle PowerPC without Altivec
Configure with -Dvmx=enabled/disabled based on the Altivec feature.
(From OE-Core rev: f6996bb609beb0fae621dfd88f581c0a1c6e38fa)
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-graphics/xorg-lib/pixman_0.40.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 00dd68006f..ab9595cc75 100644 --- a/meta/recipes-graphics/xorg-lib/pixman_0.40.0.bb +++ b/meta/recipes-graphics/xorg-lib/pixman_0.40.0.bb | |||
| @@ -34,4 +34,8 @@ EXTRA_OEMESON += "-Dloongson-mmi=disabled" | |||
| 34 | # disable iwmmxt due to compile fails on most arm platforms. | 34 | # disable iwmmxt due to compile fails on most arm platforms. |
| 35 | EXTRA_OEMESON += "-Diwmmxt=disabled" | 35 | EXTRA_OEMESON += "-Diwmmxt=disabled" |
| 36 | 36 | ||
| 37 | EXTRA_OEMESON:append:class-target:powerpc = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}" | ||
| 38 | EXTRA_OEMESON:append:class-target:powerpc64 = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}" | ||
| 39 | EXTRA_OEMESON:append:class-target:powerpc64le = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}" | ||
| 40 | |||
| 37 | BBCLASSEXTEND = "native nativesdk" | 41 | BBCLASSEXTEND = "native nativesdk" |
