summaryrefslogtreecommitdiff
path: root/packages/qmake/qmake-native_2.00a.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qmake/qmake-native_2.00a.bb')
-rw-r--r--packages/qmake/qmake-native_2.00a.bb20
1 files changed, 8 insertions, 12 deletions
diff --git a/packages/qmake/qmake-native_2.00a.bb b/packages/qmake/qmake-native_2.00a.bb
index cfee87472d..31e8a0d755 100644
--- a/packages/qmake/qmake-native_2.00a.bb
+++ b/packages/qmake/qmake-native_2.00a.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.trolltech.com"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
SECTION = "devel"
LICENSE = "GPL QPL"
-PR = "r4"
+PR = "r5"
DEFAULT_PREFERENCE = "-1"
@@ -20,17 +20,13 @@ export QTDIR = "${S}"
EXTRA_OEMAKE = "-e"
do_configure() {
- # Install the OE build templates (linux, linux-uclibc)
- install -d ${S}/mkspecs/linux-oe-g++
- install -d ${S}/mkspecs/linux-uclibc-oe-g++
- install -m 0644 ${WORKDIR}/linux-oe-qmake.conf \
- ${S}/mkspecs/linux-oe-g++/qmake.conf
- ln -sf ../linux-g++/qplatformdefs.h \
- ${S}/mkspecs/linux-oe-g++/qplatformdefs.h
- ln -sf ../linux-oe-g++/qmake.conf \
- ${S}/mkspecs/linux-uclibc-oe-g++/qmake.conf
- ln -sf ../linux-g++/qplatformdefs.h \
- ${S}/mkspecs/linux-uclibc-oe-g++/qplatformdefs.h
+ # Install the OE build templates
+ for template in linux-oe-g++ linux-uclibc-oe-g++ linux-gnueabi-oe-g++
+ do
+ install -d ${S}/mkspecs/$template
+ install -m 0644 ${WORKDIR}/linux-oe-qmake.conf ${S}/mkspecs/$template/qmake.conf
+ ln -sf ../linux-g++/qplatformdefs.h ${S}/mkspecs/$template/qplatformdefs.h
+ done
QMAKESPEC=
PLATFORM=${HOST_OS}-oe-g++