summaryrefslogtreecommitdiff
path: root/packages/qmake
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-03-24 11:22:51 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-24 11:22:51 +0000
commit22ae4b61b76822e060a981b1bea1717a9907ea65 (patch)
tree3e9660cfd0848e6cc4b5cd5f28534001cd757746 /packages/qmake
parent29897e4068b700d0a3258d16184b86d239f9169b (diff)
qmake-native: install linux-eabi configurations
Diffstat (limited to 'packages/qmake')
-rw-r--r--packages/qmake/qmake-native_1.07a.bb21
-rw-r--r--packages/qmake/qmake-native_2.00a.bb20
2 files changed, 16 insertions, 25 deletions
diff --git a/packages/qmake/qmake-native_1.07a.bb b/packages/qmake/qmake-native_1.07a.bb
index d3fd4c78cc..0b8c3e84ec 100644
--- a/packages/qmake/qmake-native_1.07a.bb
+++ b/packages/qmake/qmake-native_1.07a.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.trolltech.com"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
SECTION = "devel"
LICENSE = "GPL QPL"
-PR = "r2"
+PR = "r3"
QTEVER = "qt-embedded-free-3.3.5"
@@ -18,18 +18,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++
export PLATFORM
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++