diff options
Diffstat (limited to 'meta-oe/recipes-qt/qt4/qmake2.inc')
| -rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2.inc | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/meta-oe/recipes-qt/qt4/qmake2.inc b/meta-oe/recipes-qt/qt4/qmake2.inc deleted file mode 100644 index 6ede7423bf..0000000000 --- a/meta-oe/recipes-qt/qt4/qmake2.inc +++ /dev/null | |||
| @@ -1,72 +0,0 @@ | |||
| 1 | DESCRIPTION = "TrollTech Makefile Generator" | ||
| 2 | HOMEPAGE = "http://www.trolltech.com" | ||
| 3 | SECTION = "devel" | ||
| 4 | LICENSE = "LGPLv2.1 | GPLv3" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | ||
| 6 | file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \ | ||
| 7 | file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354" | ||
| 8 | PR = "r12" | ||
| 9 | |||
| 10 | # We call 'moc' during the build | ||
| 11 | DEPENDS = "qt4-tools-native" | ||
| 12 | |||
| 13 | QTVER = "qt-everywhere-opensource-src-${QTVERSION}" | ||
| 14 | |||
| 15 | SRC_URI = "http://get.qt.nokia.com/qt/source/${QTVER}.tar.gz \ | ||
| 16 | file://0001-fix-mkspecs.patch \ | ||
| 17 | file://qt-config.patch \ | ||
| 18 | file://use-lflags-last.patch \ | ||
| 19 | file://linux-oe-qmake.conf" | ||
| 20 | S = "${WORKDIR}/${QTVER}" | ||
| 21 | |||
| 22 | inherit autotools | ||
| 23 | |||
| 24 | CROSSHACK = "true" | ||
| 25 | CROSSHACK_virtclass-native = "" | ||
| 26 | CROSSHACK_virtclass-nativesdk = "" | ||
| 27 | |||
| 28 | export CROSSHACK | ||
| 29 | export QTDIR = "${S}" | ||
| 30 | EXTRA_OEMAKE = "-e" | ||
| 31 | |||
| 32 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 33 | |||
| 34 | do_configure() { | ||
| 35 | |||
| 36 | # Make sure we regenerate all Makefiles | ||
| 37 | find ${S} -name "Makefile" | xargs rm | ||
| 38 | # Install the OE build templates | ||
| 39 | for template in linux-oe-g++ linux-uclibc-oe-g++ linux-gnueabi-oe-g++ linux-uclibceabi-oe-g++ default | ||
| 40 | do | ||
| 41 | install -d ${S}/mkspecs/$template | ||
| 42 | rm -f ${S}/mkspecs/$template/qmake.conf | ||
| 43 | install -m 0644 ${WORKDIR}/linux-oe-qmake.conf ${S}/mkspecs/$template/qmake.conf | ||
| 44 | ln -sf ../linux-g++/qplatformdefs.h ${S}/mkspecs/$template/qplatformdefs.h | ||
| 45 | done | ||
| 46 | |||
| 47 | QMAKESPEC= | ||
| 48 | PLATFORM=${HOST_OS}-oe-g++ | ||
| 49 | export PLATFORM | ||
| 50 | export OE_QMAKE_CC="${CC}" | ||
| 51 | export OE_QMAKE_CFLAGS="${CFLAGS}" | ||
| 52 | export OE_QMAKE_CXX="${CXX}" | ||
| 53 | export OE_QMAKE_CXXFLAGS="-fno-exceptions -fno-rtti ${CXXFLAGS}" | ||
| 54 | export OE_QMAKE_LDFLAGS="${LDFLAGS}" | ||
| 55 | export OE_QMAKE_LINK="${CCLD}" | ||
| 56 | export OE_QMAKE_AR="${AR}" | ||
| 57 | export OE_QMAKE_STRIP="${STRIP}" | ||
| 58 | export OE_QMAKE_UIC="${STAGING_BINDIR_NATIVE}/uic4" | ||
| 59 | export OE_QMAKE_MOC="${STAGING_BINDIR_NATIVE}/moc4" | ||
| 60 | export QMAKE_MOC="${STAGING_BINDIR_NATIVE}/moc4" | ||
| 61 | export OE_QMAKE_RCC="${STAGING_BINDIR_NATIVE}/rcc4" | ||
| 62 | export QMAKE_RCC="${STAGING_BINDIR_NATIVE}/rcc4" | ||
| 63 | export OE_QMAKE_QMAKE="${STAGING_BINDIR_NATIVE}/qmake" | ||
| 64 | export OE_QMAKE_RPATH="-Wl,-rpath-link," | ||
| 65 | (echo o; echo yes) | ./configure -prefix ${STAGING_DIR_NATIVE}/qt4 ${EXTRA_OECONF} || die "Configuring qt failed" | ||
| 66 | } | ||
| 67 | |||
| 68 | do_compile() { | ||
| 69 | : | ||
| 70 | } | ||
| 71 | |||
| 72 | FILES_${PN} += "${datadir}/qt4/" | ||
