summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4-tools-nativesdk.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-tools-nativesdk.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-tools-nativesdk.inc')
-rw-r--r--meta/recipes-qt/qt4/qt4-tools-nativesdk.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
index efb61bf142..a1dd8df0d1 100644
--- a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
+++ b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
@@ -4,7 +4,7 @@ SECTION = "libs"
4HOMEPAGE = "http://qt.nokia.com" 4HOMEPAGE = "http://qt.nokia.com"
5LICENSE = "LGPLv2.1 | GPLv3" 5LICENSE = "LGPLv2.1 | GPLv3"
6 6
7INC_PR = "r10" 7INC_PR = "r11"
8 8
9FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:" 9FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:"
10 10
@@ -40,7 +40,7 @@ EXTRA_OECONF = "-prefix ${prefix} \
40 -verbose -release -fast -static \ 40 -verbose -release -fast -static \
41 -platform ${TARGET_OS}-oe-g++ \ 41 -platform ${TARGET_OS}-oe-g++ \
42 -xplatform ${TARGET_OS}-oe-g++ \ 42 -xplatform ${TARGET_OS}-oe-g++ \
43 -arch ${@qt_arch(d)} \ 43 -arch ${QT_ARCH} \
44 -embedded -no-freetype -no-glib -no-iconv \ 44 -embedded -no-freetype -no-glib -no-iconv \
45 -qt3support \ 45 -qt3support \
46 -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/dbus-1.0 \ 46 -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/dbus-1.0 \
@@ -71,6 +71,7 @@ do_configure() {
71 if [ ! -e bin/qmake ]; then 71 if [ ! -e bin/qmake ]; then
72 ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake 72 ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake
73 fi 73 fi
74 set_arch
74 (echo o; echo yes) | CC="${CC}" CXX="${CXX}" ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" 75 (echo o; echo yes) | CC="${CC}" CXX="${CXX}" ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
75} 76}
76 77