summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-07 14:28:15 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-07 14:28:15 +0000
commit6d7f3cbcb7167a472bc7a982b600bdfb58f8057f (patch)
treeb43d081b60f8cde466ea2c4da442b5809c25ce1d
parentfc50fe5f2dbe58546fa80423186b27ab1bf7c4de (diff)
downloadopenembedded-core-6d7f3cbcb7167a472bc7a982b600bdfb58f8057f.tar.gz
openembedded-core-6d7f3cbcb7167a472bc7a982b600bdfb58f8057f.tar.bz2
openembedded-core-6d7f3cbcb7167a472bc7a982b600bdfb58f8057f.zip
qmake2-cross: Fix the driectory the qmake binaries are installed into
-rw-r--r--meta/packages/qmake/qmake2-cross_2.10a.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/qmake/qmake2-cross_2.10a.bb b/meta/packages/qmake/qmake2-cross_2.10a.bb
index 99fe90722a..5f1c020bce 100644
--- a/meta/packages/qmake/qmake2-cross_2.10a.bb
+++ b/meta/packages/qmake/qmake2-cross_2.10a.bb
@@ -15,6 +15,7 @@ S = "${WORKDIR}/${QTVER}"
# we need the real target system here
CROSS_SYS := "${TARGET_SYS}"
+CROSS_BINDIR := "${STAGING_BINDIR_CROSS}"
inherit autotools cross
export QTDIR = "${S}"
@@ -54,8 +55,9 @@ do_compile() {
}
do_stage() {
- install -m 0755 bin/qmake ${STAGING_BINDIR}/qmake2
- install -m 0755 bin/qmake ${STAGING_BINDIR}/qmake-qt4
+ install -d ${CROSS_BINDIR}/
+ install -m 0755 bin/qmake ${CROSS_BINDIR}/qmake2
+ install -m 0755 bin/qmake ${CROSS_BINDIR}/qmake-qt4
install -d ${STAGING_DIR}/${CROSS_SYS}/qt4/
cp -PfR mkspecs ${STAGING_DIR}/${CROSS_SYS}/qt4/
install -d ${STAGING_DIR}/${HOST_SYS}/qt4/