summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2013-02-01 15:10:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-01 15:45:36 +0000
commit173d430ab2a06fb86f1c5bb0ca60376dd2fdbdfb (patch)
tree922198e14f56b778f10c401bc7cebc219bd679c3 /meta/recipes-qt
parent7d194e72ee12cb6690bf07a8423cb461dd210719 (diff)
downloadopenembedded-core-173d430ab2a06fb86f1c5bb0ca60376dd2fdbdfb.tar.gz
openembedded-core-173d430ab2a06fb86f1c5bb0ca60376dd2fdbdfb.tar.bz2
openembedded-core-173d430ab2a06fb86f1c5bb0ca60376dd2fdbdfb.zip
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. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt')
-rw-r--r--meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb4
-rw-r--r--meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb4
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 @@
require qt4-${PV}.inc
require qt4-embedded.inc
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
-QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
+QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", "-no-neon" ,d)}"
QT_CONFIG_FLAGS += " \
-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 @@
require qt4-x11-free.inc
require qt4-${PV}.inc
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
-QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
+QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", "-no-neon" ,d)}"
QT_CONFIG_FLAGS += " \
-no-embedded \