diff options
-rw-r--r-- | packages/qmake/qmake-native_1.07a.bb | 21 | ||||
-rw-r--r-- | packages/qmake/qmake-native_2.00a.bb | 20 |
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++ |