diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-12-16 16:08:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-22 16:08:51 +0000 |
commit | 5628dde92ea1b0936d0a80c38ee5520823214477 (patch) | |
tree | e60aa6084ae74db66780288304c82ea197225859 /meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb | |
parent | 9a743882cb79af3da278415607ff9261a0c0a9d6 (diff) | |
download | poky-5628dde92ea1b0936d0a80c38ee5520823214477.tar.gz |
pixman: check neon support via TUNE_FEATURES, not the _armv7a over-ride
Neon support is optional in armv7a so the _armv7a over-ride is not
the best way to determine whether or not the target supports neon.
Since pixman will always use neon in preference to 'simd' (ie VFPv2)
if it can, it's safe to disable the simd routines if the target is
known to support neon.
(From OE-Core rev: ad8337a127a8af321396b78a1cf331b54e4e0515)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb b/meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb index e13b9adffb..16e68fc071 100644 --- a/meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb +++ b/meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb | |||
@@ -19,13 +19,12 @@ PE = "1" | |||
19 | 19 | ||
20 | IWMMXT = "--disable-arm-iwmmxt" | 20 | IWMMXT = "--disable-arm-iwmmxt" |
21 | LOONGSON_MMI = "--disable-loongson-mmi" | 21 | LOONGSON_MMI = "--disable-loongson-mmi" |
22 | NEON = " --disable-arm-neon " | 22 | # If target supports neon then disable the 'simd' (ie VFPv2) fallback, otherwise disable neon. |
23 | NEON_class-nativesdk = " --disable-arm-neon " | 23 | NEON = "${@bb.utils.contains("TUNE_FEATURES", "neon", "--disable-arm-simd", "--disable-arm-neon" ,d)}" |
24 | NEON_armv7a = " " | ||
25 | NEON_armv7a-vfp-neon = " " | ||
26 | 24 | ||
27 | EXTRA_OECONF = "--disable-gtk ${IWMMXT} ${LOONGSON_MMI} ${NEON}" | 25 | EXTRA_OECONF = "--disable-gtk ${IWMMXT} ${LOONGSON_MMI} ${NEON}" |
28 | EXTRA_OECONF_class-native = "--disable-gtk" | 26 | EXTRA_OECONF_class-native = "--disable-gtk" |
27 | EXTRA_OECONF_class-nativesdk = "--disable-gtk" | ||
29 | 28 | ||
30 | SRC_URI += "\ | 29 | SRC_URI += "\ |
31 | file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \ | 30 | file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \ |