From d5f8d512871d4a702261a5f479f444d4ea9ef875 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 2 Oct 2008 11:27:36 +0000 Subject: qmake2: fix path issues --- packages/qmake/qmake2-native.inc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'packages/qmake/qmake2-native.inc') diff --git a/packages/qmake/qmake2-native.inc b/packages/qmake/qmake2-native.inc index 642adf874a..b2ffce4f48 100644 --- a/packages/qmake/qmake2-native.inc +++ b/packages/qmake/qmake2-native.inc @@ -18,7 +18,8 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/${QTVER}.tar.bz2 \ S = "${WORKDIR}/${QTVER}" # we need the real target system here -CROSS_SYS := "${TARGET_SYS}" +CROSS_SYS := "${MULTIMACH_TARGET_SYS}" + inherit autotools export QTDIR = "${S}" @@ -53,7 +54,7 @@ do_configure() { export OE_QMAKE_RCC="non-existant" export OE_QMAKE_QMAKE="${STAGING_BINDIR_NATIVE}/qmake" export OE_QMAKE_RPATH="-Wl,-rpath-link," - echo yes | ./configure -prefix ${STAGING_DIR}/${CROSS_SYS}/qt4 ${EXTRA_OECONF} || die "Configuring qt failed" + echo yes | ./configure -prefix ${STAGING_DIR_TARGET}/qt4 ${EXTRA_OECONF} || die "Configuring qt failed" } do_compile() { @@ -61,8 +62,10 @@ do_compile() { } do_stage() { - install -m 0755 bin/qmake ${STAGING_BINDIR}/qmake2 - install -m 0755 bin/qmake ${STAGING_BINDIR}/qmake-qt4 + install -d ${STAGING_BINDIR_NATIVE} + install -m 0755 bin/qmake ${STAGING_BINDIR_NATIVE}/qmake2 + install -m 0755 bin/qmake ${STAGING_BINDIR_NATIVE}/qmake-qt4 + install -d ${CROSS_DATADIR}/qt4 cp -PfR mkspecs ${CROSS_DATADIR}/qt4/ } -- cgit v1.2.3