diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-03-20 09:59:05 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-03-21 13:50:44 +0100 |
commit | 986de01251408605161e0f8343866a0e7ffe7910 (patch) | |
tree | d379760aa00efd12cc7c4bf9ab8b5db4b948419b /meta-oe/recipes-qt | |
parent | bea124794b17bd87d4b1a3a0df30a1f02869c7f0 (diff) | |
download | meta-openembedded-986de01251408605161e0f8343866a0e7ffe7910.tar.gz |
qmake2: remove
qmake is now provided by the qt4-x11-tools package in OE-Core (and has
RPROVIDES + RREPLACES), so remove this recipe.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-qt')
-rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2-sdk/linux-oe-qmake.conf | 1 | ||||
-rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2.inc | 72 | ||||
-rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2/0001-fix-mkspecs.patch | 152 | ||||
-rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2/linux-oe-qmake.conf | 1 | ||||
-rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff | 15 | ||||
-rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2/qt-config.patch | 21 | ||||
-rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2/use-lflags-last.patch | 22 | ||||
-rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2_2.10a.bb | 60 |
8 files changed, 0 insertions, 344 deletions
diff --git a/meta-oe/recipes-qt/qt4/qmake2-sdk/linux-oe-qmake.conf b/meta-oe/recipes-qt/qt4/qmake2-sdk/linux-oe-qmake.conf deleted file mode 100644 index f58481a69..000000000 --- a/meta-oe/recipes-qt/qt4/qmake2-sdk/linux-oe-qmake.conf +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | include(../linux-g++/qmake.conf) | ||
diff --git a/meta-oe/recipes-qt/qt4/qmake2.inc b/meta-oe/recipes-qt/qt4/qmake2.inc deleted file mode 100644 index 6ede7423b..000000000 --- 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/" | ||
diff --git a/meta-oe/recipes-qt/qt4/qmake2/0001-fix-mkspecs.patch b/meta-oe/recipes-qt/qt4/qmake2/0001-fix-mkspecs.patch deleted file mode 100644 index e36c554f4..000000000 --- a/meta-oe/recipes-qt/qt4/qmake2/0001-fix-mkspecs.patch +++ /dev/null | |||
@@ -1,152 +0,0 @@ | |||
1 | From 04f1a1d766de39797362cd748299bd29251f6cfc Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Sun, 19 Jun 2011 19:50:05 +0200 | ||
4 | Subject: [PATCH] fix mkspecs for OE usage | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | mkspecs/common/g++.conf | 32 +++++++++++++++++++------------- | ||
9 | mkspecs/common/linux.conf | 33 +++++++++++++++++++-------------- | ||
10 | 2 files changed, 38 insertions(+), 27 deletions(-) | ||
11 | |||
12 | diff --git a/mkspecs/common/g++.conf b/mkspecs/common/g++.conf | ||
13 | index 0d511fc..80f925c 100644 | ||
14 | --- a/mkspecs/common/g++.conf | ||
15 | +++ b/mkspecs/common/g++.conf | ||
16 | @@ -2,13 +2,13 @@ | ||
17 | # qmake configuration for common gcc | ||
18 | # | ||
19 | |||
20 | -QMAKE_CC = gcc | ||
21 | -QMAKE_CFLAGS += -pipe | ||
22 | +QMAKE_CC = $(OE_QMAKE_CC) | ||
23 | +QMAKE_CFLAGS += -pipe $(OE_QMAKE_CFLAGS) | ||
24 | +QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS) | ||
25 | QMAKE_CFLAGS_DEPS += -M | ||
26 | QMAKE_CFLAGS_WARN_ON += -Wall -W | ||
27 | QMAKE_CFLAGS_WARN_OFF += -w | ||
28 | -QMAKE_CFLAGS_RELEASE += -O2 | ||
29 | -QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -g | ||
30 | +QMAKE_CFLAGS_RELEASE += | ||
31 | QMAKE_CFLAGS_DEBUG += -g | ||
32 | QMAKE_CFLAGS_SHLIB += -fPIC | ||
33 | QMAKE_CFLAGS_STATIC_LIB += -fPIC | ||
34 | @@ -17,8 +17,8 @@ QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden | ||
35 | QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
36 | QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE} | ||
37 | |||
38 | -QMAKE_CXX = g++ | ||
39 | -QMAKE_CXXFLAGS += $$QMAKE_CFLAGS | ||
40 | +QMAKE_CXX = $(OE_QMAKE_CXX) | ||
41 | +QMAKE_CXXFLAGS += $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS) | ||
42 | QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS | ||
43 | QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON | ||
44 | QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF | ||
45 | @@ -32,12 +32,12 @@ QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden | ||
46 | QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
47 | QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE | ||
48 | |||
49 | -QMAKE_LINK = g++ | ||
50 | -QMAKE_LINK_SHLIB = g++ | ||
51 | -QMAKE_LINK_C = gcc | ||
52 | -QMAKE_LINK_C_SHLIB = gcc | ||
53 | -QMAKE_LFLAGS += | ||
54 | -QMAKE_LFLAGS_RELEASE += -Wl,-O1 | ||
55 | +QMAKE_LINK = $(OE_QMAKE_LINK) | ||
56 | +QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK) | ||
57 | +QMAKE_LINK_C = $(OE_QMAKE_LINK) | ||
58 | +QMAKE_LINK_C_SHLIB = $(OE_QMAKE_LINK) | ||
59 | +QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS) | ||
60 | +QMAKE_LFLAGS_RELEASE += | ||
61 | QMAKE_LFLAGS_DEBUG += | ||
62 | QMAKE_LFLAGS_APP += | ||
63 | QMAKE_LFLAGS_SHLIB += -shared | ||
64 | @@ -45,10 +45,16 @@ QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB | ||
65 | QMAKE_LFLAGS_SONAME += -Wl,-soname, | ||
66 | QMAKE_LFLAGS_THREAD += | ||
67 | QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined | ||
68 | -QMAKE_LFLAGS_RPATH = -Wl,-rpath, | ||
69 | +QMAKE_LFLAGS_RPATH = -Wl,-rpath-link, | ||
70 | |||
71 | QMAKE_PCH_OUTPUT_EXT = .gch | ||
72 | |||
73 | # -Bsymbolic-functions (ld) support | ||
74 | QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions | ||
75 | QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list, | ||
76 | + | ||
77 | +# some linking helper... | ||
78 | +CONFIG += rpath_libdirs | ||
79 | + | ||
80 | +# for the SDK | ||
81 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG) | ||
82 | diff --git a/mkspecs/common/linux.conf b/mkspecs/common/linux.conf | ||
83 | index 4fbe2dc..a541355 100644 | ||
84 | --- a/mkspecs/common/linux.conf | ||
85 | +++ b/mkspecs/common/linux.conf | ||
86 | @@ -7,25 +7,26 @@ QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD | ||
87 | |||
88 | QMAKE_INCDIR = | ||
89 | QMAKE_LIBDIR = | ||
90 | -QMAKE_INCDIR_X11 = /usr/X11R6/include | ||
91 | -QMAKE_LIBDIR_X11 = /usr/X11R6/lib | ||
92 | -QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] | ||
93 | -QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS] | ||
94 | -QMAKE_INCDIR_OPENGL = /usr/X11R6/include | ||
95 | -QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib | ||
96 | +QMAKE_INCDIR_X11 = | ||
97 | +QMAKE_LIBDIR_X11 = | ||
98 | +QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT) | ||
99 | +QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT) | ||
100 | +QMAKE_INCDIR_OPENGL = | ||
101 | +QMAKE_LIBDIR_OPENGL = | ||
102 | QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL | ||
103 | QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL | ||
104 | QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL | ||
105 | QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL | ||
106 | -QMAKE_INCDIR_EGL = | ||
107 | +QMAKE_INCDIR_EGL = | ||
108 | QMAKE_LIBDIR_EGL = | ||
109 | -QMAKE_INCDIR_OPENVG = | ||
110 | +QMAKE_INCDIR_OPENVG = | ||
111 | QMAKE_LIBDIR_OPENVG = | ||
112 | |||
113 | + | ||
114 | QMAKE_LIBS = | ||
115 | QMAKE_LIBS_DYNLOAD = -ldl | ||
116 | -QMAKE_LIBS_X11 = -lXext -lX11 -lm | ||
117 | -QMAKE_LIBS_X11SM = -lSM -lICE | ||
118 | +QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11) | ||
119 | +QMAKE_LIBS_X11SM = $(OE_QMAKE_LIBS_X11SM) | ||
120 | QMAKE_LIBS_NIS = -lnsl | ||
121 | QMAKE_LIBS_EGL = -lEGL | ||
122 | QMAKE_LIBS_OPENGL = -lGLU -lGL | ||
123 | @@ -35,10 +36,14 @@ QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 | ||
124 | QMAKE_LIBS_OPENVG = -lOpenVG | ||
125 | QMAKE_LIBS_THREAD = -lpthread | ||
126 | |||
127 | -QMAKE_MOC = $$[QT_INSTALL_BINS]/moc | ||
128 | -QMAKE_UIC = $$[QT_INSTALL_BINS]/uic | ||
129 | +QMAKE_MOC = $(OE_QMAKE_MOC) | ||
130 | +QMAKE_UIC = $(OE_QMAKE_UIC) | ||
131 | +QMAKE_UIC3 = $(OE_QMAKE_UIC3) | ||
132 | +QMAKE_RCC = $(OE_QMAKE_RCC) | ||
133 | +QMAKE_QDBUSCPP2XML = $(OE_QMAKE_QDBUSCPP2XML) | ||
134 | +QMAKE_QDBUSXML2CPP = $(OE_QMAKE_QDBUSXML2CPP) | ||
135 | |||
136 | -QMAKE_AR = ar cqs | ||
137 | +QMAKE_AR = $(OE_QMAKE_AR) cqs | ||
138 | QMAKE_OBJCOPY = objcopy | ||
139 | QMAKE_RANLIB = | ||
140 | |||
141 | @@ -51,7 +56,7 @@ QMAKE_COPY_DIR = $(COPY) -r | ||
142 | QMAKE_MOVE = mv -f | ||
143 | QMAKE_DEL_FILE = rm -f | ||
144 | QMAKE_DEL_DIR = rmdir | ||
145 | -QMAKE_STRIP = strip | ||
146 | +QMAKE_STRIP = $(OE_QMAKE_STRIP) | ||
147 | QMAKE_STRIPFLAGS_LIB += --strip-unneeded | ||
148 | QMAKE_CHK_DIR_EXISTS = test -d | ||
149 | QMAKE_MKDIR = mkdir -p | ||
150 | -- | ||
151 | 1.6.6.1 | ||
152 | |||
diff --git a/meta-oe/recipes-qt/qt4/qmake2/linux-oe-qmake.conf b/meta-oe/recipes-qt/qt4/qmake2/linux-oe-qmake.conf deleted file mode 100644 index f58481a69..000000000 --- a/meta-oe/recipes-qt/qt4/qmake2/linux-oe-qmake.conf +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | include(../linux-g++/qmake.conf) | ||
diff --git a/meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff b/meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff deleted file mode 100644 index 290f54052..000000000 --- a/meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | --- /tmp/configure 2010-02-10 15:41:58.000000000 +0100 | ||
2 | +++ qt-embedded-linux-opensource-src-4.4.3/configure 2010-02-10 15:42:01.000000000 +0100 | ||
3 | @@ -3946,6 +3946,12 @@ | ||
4 | [ '!' -z "$QCONFIG_H" ] && mv -f "$QCONFIG_H" "$QMAKE_QCONFIG_H" #move qmake's qconfig.h to qconfig.h.qmake | ||
5 | [ '!' -z "$OLD_QCONFIG_H" ] && mv -f "${OLD_QCONFIG_H}.old" "$OLD_QCONFIG_H" #put back qconfig.h | ||
6 | [ "$QMAKE_BUILD_ERROR" = "yes" ] && exit 2 | ||
7 | + | ||
8 | +# OE | ||
9 | +if [ x$CROSSHACK = xtrue ] ; then | ||
10 | + echo "Exiting now, since we have what we want: a qmake binary" | ||
11 | + exit 0 | ||
12 | +fi | ||
13 | fi # Build qmake | ||
14 | |||
15 | #------------------------------------------------------------------------------- | ||
diff --git a/meta-oe/recipes-qt/qt4/qmake2/qt-config.patch b/meta-oe/recipes-qt/qt4/qmake2/qt-config.patch deleted file mode 100644 index 3aa041aa5..000000000 --- a/meta-oe/recipes-qt/qt4/qmake2/qt-config.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | --- /tmp/qlibraryinfo.cpp 2008-08-02 17:16:41.000000000 +0200 | ||
2 | +++ qt-embedded-linux-opensource-src-4.4.1/src/corelib/global/qlibraryinfo.cpp 2008-08-02 17:17:42.000000000 +0200 | ||
3 | @@ -47,6 +47,7 @@ | ||
4 | QT_BEGIN_NAMESPACE | ||
5 | extern QString qmake_libraryInfoFile(); | ||
6 | QT_END_NAMESPACE | ||
7 | +#include <stdlib.h> | ||
8 | #else | ||
9 | # include "qcoreapplication.h" | ||
10 | #endif | ||
11 | @@ -113,6 +114,10 @@ | ||
12 | #ifdef QT_BUILD_QMAKE | ||
13 | if(!QFile::exists(qtconfig)) | ||
14 | qtconfig = qmake_libraryInfoFile(); | ||
15 | + if (!QFile::exists(qtconfig)) { | ||
16 | + QByteArray config = getenv("QT_CONF_PATH"); | ||
17 | + qtconfig = config; | ||
18 | + } | ||
19 | #else | ||
20 | if (!QFile::exists(qtconfig) && QCoreApplication::instance()) { | ||
21 | #ifdef Q_OS_MAC | ||
diff --git a/meta-oe/recipes-qt/qt4/qmake2/use-lflags-last.patch b/meta-oe/recipes-qt/qt4/qmake2/use-lflags-last.patch deleted file mode 100644 index 4197dbbf6..000000000 --- a/meta-oe/recipes-qt/qt4/qmake2/use-lflags-last.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | Index: qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp | ||
2 | =================================================================== | ||
3 | --- qtopia-core-opensource-src-4.3.1.orig/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:45:26.000000000 +0200 | ||
4 | +++ qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:57:09.000000000 +0200 | ||
5 | @@ -416,7 +416,7 @@ | ||
6 | t << "\n\t" << mkdir_p_asstring(destdir) << "\n\t"; | ||
7 | if(!project->isEmpty("QMAKE_PRE_LINK")) | ||
8 | t << var("QMAKE_PRE_LINK") << "\n\t"; | ||
9 | - t << "$(LINK) $(LFLAGS) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS)"; | ||
10 | + t << "$(LINK) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS) $(LFLAGS)"; | ||
11 | if(!project->isEmpty("QMAKE_POST_LINK")) | ||
12 | t << "\n\t" << var("QMAKE_POST_LINK"); | ||
13 | t << endl << endl; | ||
14 | @@ -430,7 +430,7 @@ | ||
15 | t << mkdir_p_asstring(destdir) << "\n\t"; | ||
16 | if(!project->isEmpty("QMAKE_PRE_LINK")) | ||
17 | t << var("QMAKE_PRE_LINK") << "\n\t"; | ||
18 | - t << "$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)"; | ||
19 | + t << "$(LINK) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) $(LFLAGS)"; | ||
20 | if(!project->isEmpty("QMAKE_POST_LINK")) | ||
21 | t << "\n\t" << var("QMAKE_POST_LINK"); | ||
22 | t << endl << endl; | ||
diff --git a/meta-oe/recipes-qt/qt4/qmake2_2.10a.bb b/meta-oe/recipes-qt/qt4/qmake2_2.10a.bb deleted file mode 100644 index b75ce7ed8..000000000 --- a/meta-oe/recipes-qt/qt4/qmake2_2.10a.bb +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | QTVERSION="4.7.3" | ||
2 | FILESDIR += "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qmake2" | ||
3 | |||
4 | BBCLASSEXTEND = "native nativesdk" | ||
5 | |||
6 | require ${PN}.inc | ||
7 | |||
8 | SRC_URI += "file://qmake-hack.diff" | ||
9 | |||
10 | do_install() { | ||
11 | install -d ${D}/${bindir} | ||
12 | install -m 0755 bin/qmake ${D}/${bindir}/qmake2 | ||
13 | install -m 0755 bin/qmake ${D}/${bindir}/qmake-qt4 | ||
14 | install -d ${D}/${datadir}/qt4 | ||
15 | install -d ${D}/${datadir}/qtopia | ||
16 | |||
17 | script="${D}/${datadir}/qtopia/environment-setup" | ||
18 | touch $script | ||
19 | echo 'export QT_DIR_NAME=qtopia' >> $script | ||
20 | echo 'export QT_LIBINFIX=E' >> $script | ||
21 | echo 'export OE_QMAKE_AR=ar' >> $script | ||
22 | echo 'export OE_QMAKE_CC=gcc' >> $script | ||
23 | echo 'export OE_QMAKE_CXX=g++' >> $script | ||
24 | echo 'export OE_QMAKE_LINK=g++' >> $script | ||
25 | echo 'export OE_QMAKE_LIBDIR_QT=${libdir}' >> $script | ||
26 | echo 'export OE_QMAKE_INCDIR_QT=${includedir}/qtopia' >> $script | ||
27 | echo 'export OE_QMAKE_MOC=${bindir}/moc' >> $script | ||
28 | echo 'export OE_QMAKE_UIC=${bindir}/uic' >> $script | ||
29 | echo 'export OE_QMAKE_UIC3=${bindir}/uic3' >> $script | ||
30 | echo 'export OE_QMAKE_RCC=${bindir}/rcc' >> $script | ||
31 | echo 'export OE_QMAKE_QDBUSCPP2XML=${bindir}/qdbuscpp2xml' >> $script | ||
32 | echo 'export OE_QMAKE_QDBUSXML2CPP=${bindir}/qdbusxml2cpp' >> $script | ||
33 | echo 'export OE_QMAKE_QT_CONFIG=${datadir}/qtopia/mkspecs/qconfig.pri' >> $script | ||
34 | echo 'export QMAKESPEC=${datadir}/qtopia/mkspecs/linux-g++' >> $script | ||
35 | |||
36 | script="${D}/${datadir}/qt4/environment-setup" | ||
37 | touch $script | ||
38 | echo 'export OE_QMAKE_AR=ar' >> $script | ||
39 | echo 'export OE_QMAKE_CC=gcc' >> $script | ||
40 | echo 'export OE_QMAKE_CXX=g++' >> $script | ||
41 | echo 'export OE_QMAKE_LINK=g++' >> $script | ||
42 | echo 'export OE_QMAKE_LIBDIR_QT=${libdir}' >> $script | ||
43 | echo 'export OE_QMAKE_INCDIR_QT=${includedir}/qt4' >> $script | ||
44 | echo 'export OE_QMAKE_MOC=${bindir}/moc' >> $script | ||
45 | echo 'export OE_QMAKE_UIC=${bindir}/uic' >> $script | ||
46 | echo 'export OE_QMAKE_UIC3=${bindir}/uic3' >> $script | ||
47 | echo 'export OE_QMAKE_RCC=${bindir}/rcc' >> $script | ||
48 | echo 'export OE_QMAKE_QDBUSCPP2XML=${bindir}/qdbuscpp2xml' >> $script | ||
49 | echo 'export OE_QMAKE_QDBUSXML2CPP=${bindir}/qdbusxml2cpp' >> $script | ||
50 | echo 'export OE_QMAKE_QT_CONFIG=${datadir}/qt4/mkspecs/qconfig.pri' >> $script | ||
51 | echo 'export QMAKESPEC=${datadir}/qt4/mkspecs/linux-g++' >> $script | ||
52 | |||
53 | chmod 0755 ${D}${datadir}/qt*/environment-setup | ||
54 | } | ||
55 | |||
56 | FILES_${PN} += "${datadir}/qt*/environment-setup" | ||
57 | |||
58 | |||
59 | SRC_URI[md5sum] = "9a639aec44a1e4c70040117183d247a3" | ||
60 | SRC_URI[sha256sum] = "05d06b93f95092f1318634fca24f0c2d0a1252c9f1dc2fbb427b07e8ecbb4f39" | ||