summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4.inc
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-05-08 13:28:30 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-31 21:15:12 +0100
commit30c3c8420ec15f58d9d4696041480277b672a403 (patch)
tree1c14695c9d6336532a13624d63a6fae79842a096 /meta/recipes-qt/qt4/qt4.inc
parenta74fb01b6b15cfa69fd507eb083cca26d2685867 (diff)
downloadpoky-30c3c8420ec15f58d9d4696041480277b672a403.tar.gz
qt4: move functions from python to shell style
In qt4's do_configure operation, it will refer to some variables that are derived from 'd', however these variable values may be not correct in multilib case since the extraction of these variables happens before the multilib handler. The fix is to move these python style functions back to shell style. This fixes [YOCTO #2355] [RP: Fix whitepace] (From OE-Core rev: 98cb2efe4e9f3092d531c9fc809406c3ef559725) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [SG: Resolve merge conflicts for 1.2.1] Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4.inc')
-rw-r--r--meta/recipes-qt/qt4/qt4.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index 468a46ff74..23fda336b2 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -4,8 +4,6 @@ DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gst
4DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}" 4DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}"
5 5
6require qt4_arch.inc 6require qt4_arch.inc
7QT_ARCH := "${@qt_arch(d)}"
8QT_ENDIAN = "${@qt_endian(d)}"
9 7
10QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm" 8QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm"
11QT_DISTRO_FLAGS_linuxstdbase = "-sm" 9QT_DISTRO_FLAGS_linuxstdbase = "-sm"
@@ -200,6 +198,9 @@ do_configure() {
200 unset QMAKESPEC 198 unset QMAKESPEC
201 unset QTDIR 199 unset QTDIR
202 200
201 set_arch
202 set_endian
203
203 if [ ! -e bin/qmake ]; then 204 if [ ! -e bin/qmake ]; then
204 ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake 205 ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake
205 fi 206 fi