diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase-git/0006-qmake-don-t-build-it-in-configure-but-allow-to-build.patch')
-rw-r--r-- | recipes-qt/qt5/qtbase-git/0006-qmake-don-t-build-it-in-configure-but-allow-to-build.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase-git/0006-qmake-don-t-build-it-in-configure-but-allow-to-build.patch b/recipes-qt/qt5/qtbase-git/0006-qmake-don-t-build-it-in-configure-but-allow-to-build.patch new file mode 100644 index 00000000..6d79acb6 --- /dev/null +++ b/recipes-qt/qt5/qtbase-git/0006-qmake-don-t-build-it-in-configure-but-allow-to-build.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | From d8e725cb2c25a443d888fe2652f9039e79ae75ac Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Krelin <hacker@klever.net> | ||
3 | Date: Mon, 29 Oct 2012 20:07:49 -0700 | ||
4 | Subject: [PATCH 6/8] qmake: don't build it in configure, but allow to build it | ||
5 | separately | ||
6 | |||
7 | * it is already built in qtbase-native, so we don't need it in configure | ||
8 | * allow building a separate qmake for the target | ||
9 | |||
10 | Upstream-Status: Inappropriate [configuration] | ||
11 | OE specific for native/target builds | ||
12 | |||
13 | Signed-off-by: Yu Ke <ke.yu@intel.com> | ||
14 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
15 | Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com> | ||
16 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
17 | --- | ||
18 | configure | 2 +- | ||
19 | qmake/qmake.pro | 2 ++ | ||
20 | 2 files changed, 3 insertions(+), 1 deletion(-) | ||
21 | |||
22 | diff --git a/configure b/configure | ||
23 | index 48d5119..2a42c08 100755 | ||
24 | --- a/configure | ||
25 | +++ b/configure | ||
26 | @@ -3675,7 +3675,7 @@ setBootstrapEvalVariable() | ||
27 | |||
28 | |||
29 | # build qmake | ||
30 | -if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | ||
31 | +if false; then ###[ '!' -f "$outpath/bin/qmake" ]; | ||
32 | echo "Creating qmake..." | ||
33 | |||
34 | mkdir -p "$outpath/qmake" || exit | ||
35 | diff --git a/qmake/qmake.pro b/qmake/qmake.pro | ||
36 | index 89d6ea5..7c605b9 100644 | ||
37 | --- a/qmake/qmake.pro | ||
38 | +++ b/qmake/qmake.pro | ||
39 | @@ -8,6 +8,8 @@ CONFIG -= qt | ||
40 | DEFINES += \ | ||
41 | QT_BUILD_QMAKE \ | ||
42 | PROEVALUATOR_FULL | ||
43 | +DESTDIR = ../bin/ | ||
44 | +TARGET = qmake | ||
45 | |||
46 | VPATH += \ | ||
47 | ../src/corelib/global \ | ||
48 | -- | ||
49 | 2.0.0 | ||
50 | |||