[poky] [PATCH] qt4-tools-nativesdk: build qmake for SDK_ARCH

Ilya Yanok yanok at emcraft.com
Fri May 13 09:02:52 PDT 2011


We should build qmake suitable for SDK instead of providing the
version from staging.

Signed-off-by: Ilya Yanok <yanok at emcraft.com>
---
 meta/recipes-qt/qt4/qt4-tools-nativesdk.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
index 5faf40c..734a715 100644
--- a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
+++ b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
@@ -92,6 +92,8 @@ do_compile() {
     for i in ${TOBUILD}; do
         cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}"
     done
+    # build qmake for target
+    (cd ${S}/qmake; QMAKESPEC=${S}/mkspecs/${TARGET_OS}-oe-g++ ../bin/qmake; oe_runmake CC="${CC}" CXX="${CXX}")
 }
 
 do_install() {
-- 
1.7.4.4




More information about the poky mailing list