diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-05-08 13:28:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-08 14:49:14 +0100 |
commit | 649782175a1fc48e4207e18bc2244a50293a8034 (patch) | |
tree | 51d719010115b6c7b220df6e6fa31e5f7b363324 /meta/recipes-qt/qt4/qt4-tools-nativesdk.inc | |
parent | 38da655788361e949d605bebfab45cf5830df613 (diff) | |
download | poky-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-tools-nativesdk.inc')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-tools-nativesdk.inc | 5 |
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" | |||
4 | HOMEPAGE = "http://qt.nokia.com" | 4 | HOMEPAGE = "http://qt.nokia.com" |
5 | LICENSE = "LGPLv2.1 | GPLv3" | 5 | LICENSE = "LGPLv2.1 | GPLv3" |
6 | 6 | ||
7 | INC_PR = "r10" | 7 | INC_PR = "r11" |
8 | 8 | ||
9 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:" | 9 | FILESEXTRAPATHS =. "${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 | ||