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-08 14:49:14 +0100
commit649782175a1fc48e4207e18bc2244a50293a8034 (patch)
tree51d719010115b6c7b220df6e6fa31e5f7b363324 /meta/recipes-qt/qt4/qt4.inc
parent38da655788361e949d605bebfab45cf5830df613 (diff)
downloadpoky-649782175a1fc48e4207e18bc2244a50293a8034.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: 977ba301a1063a84b865ddf7367c35827fbffc86) Signed-off-by: Dongxiao Xu <dongxiao.xu@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