summaryrefslogtreecommitdiff
path: root/packages/qmake
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qmake')
-rw-r--r--packages/qmake/qmake2-native.inc5
-rw-r--r--packages/qmake/qmake2-native_2.10a.bb8
-rw-r--r--packages/qmake/qmake2-sdk_2.10a.bb13
3 files changed, 22 insertions, 4 deletions
diff --git a/packages/qmake/qmake2-native.inc b/packages/qmake/qmake2-native.inc
index 55b402655e..f7bdd7836b 100644
--- a/packages/qmake/qmake2-native.inc
+++ b/packages/qmake/qmake2-native.inc
@@ -17,7 +17,7 @@ S = "${WORKDIR}/${QTVER}"
# we need the real target system here
CROSS_SYS := "${TARGET_SYS}"
-inherit autotools cross
+inherit autotools
export QTDIR = "${S}"
EXTRA_OEMAKE = "-e"
@@ -62,6 +62,3 @@ do_stage() {
cp -PfR mkspecs ${CROSS_DATADIR}/qt4/
}
-do_install() {
- :
-}
diff --git a/packages/qmake/qmake2-native_2.10a.bb b/packages/qmake/qmake2-native_2.10a.bb
index 07e97c4413..0e1aa2c61e 100644
--- a/packages/qmake/qmake2-native_2.10a.bb
+++ b/packages/qmake/qmake2-native_2.10a.bb
@@ -1,3 +1,11 @@
QTVERSION="4.3.3"
FILESDIR += "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qmake2-native"
require ${PN}.inc
+
+inherit cross
+
+do_install() {
+ :
+}
+
+
diff --git a/packages/qmake/qmake2-sdk_2.10a.bb b/packages/qmake/qmake2-sdk_2.10a.bb
index 3c00d81cdc..b16159c8d9 100644
--- a/packages/qmake/qmake2-sdk_2.10a.bb
+++ b/packages/qmake/qmake2-sdk_2.10a.bb
@@ -2,3 +2,16 @@ QTVERSION="4.3.3"
require qmake2-native.inc
inherit sdk
+
+do_install () {
+ install -d ${D}/${bindir}
+ install -m 0755 bin/qmake ${D}/${bindir}/qmake2
+ install -m 0755 bin/qmake ${D}/${bindir}/qmake-qt4
+ install -d ${D}/${datadir}/qt4
+ cp -PfR mkspecs ${D}/${datadir}/qt4/
+}
+
+
+
+
+