diff options
author | Roy.Li <rongqing.li@windriver.com> | 2013-02-01 15:10:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-01 15:54:01 +0000 |
commit | 8eab3f5e7ab0aacf4af8a5de98e7c3d32a8a6e19 (patch) | |
tree | b50e8efea996b34489f15094097a8ad014f0be92 /meta/recipes-qt/qt4 | |
parent | 19ac10a86d1d35aa76cf3c97254e14c5c8de7221 (diff) | |
download | poky-8eab3f5e7ab0aacf4af8a5de98e7c3d32a8a6e19.tar.gz |
QT4: use '-no-neon' if cpu does not support neon
Some armv7a cpu does not support neon, like SPEAr1310,
so we should check against "neon" in TUNE_FEATURES.
(From OE-Core rev: 173d430ab2a06fb86f1c5bb0ca60376dd2fdbdfb)
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb | 4 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb b/meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb index 5a3dc6537a..0f417c9cbc 100644 --- a/meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb +++ b/meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | require qt4-${PV}.inc | 1 | require qt4-${PV}.inc |
2 | require qt4-embedded.inc | 2 | require qt4-embedded.inc |
3 | 3 | ||
4 | PR = "${INC_PR}.1" | 4 | PR = "${INC_PR}.2" |
5 | 5 | ||
6 | QT_CONFIG_FLAGS_append_armv6 = " -no-neon " | 6 | QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", "-no-neon" ,d)}" |
7 | 7 | ||
8 | QT_CONFIG_FLAGS += " \ | 8 | QT_CONFIG_FLAGS += " \ |
9 | -exceptions \ | 9 | -exceptions \ |
diff --git a/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb b/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb index 9b03ff2f57..a589fbeff3 100644 --- a/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb +++ b/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | require qt4-x11-free.inc | 1 | require qt4-x11-free.inc |
2 | require qt4-${PV}.inc | 2 | require qt4-${PV}.inc |
3 | 3 | ||
4 | PR = "${INC_PR}.1" | 4 | PR = "${INC_PR}.2" |
5 | 5 | ||
6 | QT_CONFIG_FLAGS_append_armv6 = " -no-neon " | 6 | QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", "-no-neon" ,d)}" |
7 | 7 | ||
8 | QT_CONFIG_FLAGS += " \ | 8 | QT_CONFIG_FLAGS += " \ |
9 | -no-embedded \ | 9 | -no-embedded \ |