diff options
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-4.8.7/0031-aarch64_arm64_mkspecs.patch')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-4.8.7/0031-aarch64_arm64_mkspecs.patch | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt4-4.8.7/0031-aarch64_arm64_mkspecs.patch b/meta/recipes-qt/qt4/qt4-4.8.7/0031-aarch64_arm64_mkspecs.patch new file mode 100644 index 0000000000..a01e7ada93 --- /dev/null +++ b/meta/recipes-qt/qt4/qt4-4.8.7/0031-aarch64_arm64_mkspecs.patch | |||
@@ -0,0 +1,124 @@ | |||
1 | From 7090fc80ff630712a90de92403190f647dd38a39 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Lisandro=20Dami=C3=A1n=20Nicanor=20P=C3=A9rez=20Meyer?= | ||
3 | <perezmeyer@gmail.com> | ||
4 | Date: Sat, 15 Mar 2014 15:35:00 -0300 | ||
5 | Subject: [PATCH] mkspecs for AArch64 (aka arm64). | ||
6 | |||
7 | Patch by Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | ||
8 | licensed under either Public Domain or BSD: | ||
9 | |||
10 | <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735488#179> | ||
11 | |||
12 | Change-Id: I21f17953234cfb176bac023e52ecdc927fc5c1a9 | ||
13 | |||
14 | |||
15 | Upstream-Status: Pending | ||
16 | |||
17 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
18 | |||
19 | --- | ||
20 | configure | 3 +++ | ||
21 | mkspecs/linux-g++-aarch64/qmake.conf | 27 ++++++++++++++++++++ | ||
22 | mkspecs/linux-g++-aarch64/qplatformdefs.h | 42 +++++++++++++++++++++++++++++++ | ||
23 | 3 files changed, 72 insertions(+) | ||
24 | create mode 100644 mkspecs/linux-g++-aarch64/qmake.conf | ||
25 | create mode 100644 mkspecs/linux-g++-aarch64/qplatformdefs.h | ||
26 | |||
27 | diff --git a/configure b/configure | ||
28 | index a9ba7c8..e57d053 100755 | ||
29 | --- a/configure | ||
30 | +++ b/configure | ||
31 | @@ -2808,6 +2808,9 @@ if [ "$CFG_EMBEDDED" != "no" ]; then | ||
32 | *86_64) | ||
33 | PLATFORM=qws/linux-x86_64-g++ | ||
34 | ;; | ||
35 | + aarch64) | ||
36 | + PLATFORM=linux-aarch64-g++ | ||
37 | + ;; | ||
38 | *) | ||
39 | PLATFORM=qws/linux-generic-g++ | ||
40 | ;; | ||
41 | diff --git a/mkspecs/linux-g++-aarch64/qmake.conf b/mkspecs/linux-g++-aarch64/qmake.conf | ||
42 | new file mode 100644 | ||
43 | index 0000000..ebc0a92 | ||
44 | --- /dev/null | ||
45 | +++ b/mkspecs/linux-g++-aarch64/qmake.conf | ||
46 | @@ -0,0 +1,27 @@ | ||
47 | +# | ||
48 | +# qmake configuration for linux-g++ | ||
49 | +# | ||
50 | +# Written for GNU/Linux platforms that have both lib and lib64 directories, | ||
51 | +# like the AMD Opteron. | ||
52 | +# | ||
53 | + | ||
54 | +MAKEFILE_GENERATOR = UNIX | ||
55 | +TARGET_PLATFORM = unix | ||
56 | +TEMPLATE = app | ||
57 | +CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index | ||
58 | +QT += core gui | ||
59 | +QMAKE_INCREMENTAL_STYLE = sublib | ||
60 | + | ||
61 | +QMAKE_CFLAGS = | ||
62 | +QMAKE_LFLAGS = | ||
63 | + | ||
64 | +QMAKE_CFLAGS_RELEASE += -O2 | ||
65 | + | ||
66 | +include(../common/linux.conf) | ||
67 | +include(../common/gcc-base-unix.conf) | ||
68 | +include(../common/g++-unix.conf) | ||
69 | + | ||
70 | +QMAKE_LIBDIR_X11 = /usr/X11R6/lib64 | ||
71 | +QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib64 | ||
72 | + | ||
73 | +load(qt_config) | ||
74 | diff --git a/mkspecs/linux-g++-aarch64/qplatformdefs.h b/mkspecs/linux-g++-aarch64/qplatformdefs.h | ||
75 | new file mode 100644 | ||
76 | index 0000000..562128b | ||
77 | --- /dev/null | ||
78 | +++ b/mkspecs/linux-g++-aarch64/qplatformdefs.h | ||
79 | @@ -0,0 +1,42 @@ | ||
80 | +/**************************************************************************** | ||
81 | +** | ||
82 | +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). | ||
83 | +** Contact: http://www.qt-project.org/legal | ||
84 | +** | ||
85 | +** This file is part of the qmake spec of the Qt Toolkit. | ||
86 | +** | ||
87 | +** $QT_BEGIN_LICENSE:LGPL$ | ||
88 | +** Commercial License Usage | ||
89 | +** Licensees holding valid commercial Qt licenses may use this file in | ||
90 | +** accordance with the commercial license agreement provided with the | ||
91 | +** Software or, alternatively, in accordance with the terms contained in | ||
92 | +** a written agreement between you and Digia. For licensing terms and | ||
93 | +** conditions see http://qt.digia.com/licensing. For further information | ||
94 | +** use the contact form at http://qt.digia.com/contact-us. | ||
95 | +** | ||
96 | +** GNU Lesser General Public License Usage | ||
97 | +** Alternatively, this file may be used under the terms of the GNU Lesser | ||
98 | +** General Public License version 2.1 as published by the Free Software | ||
99 | +** Foundation and appearing in the file LICENSE.LGPL included in the | ||
100 | +** packaging of this file. Please review the following information to | ||
101 | +** ensure the GNU Lesser General Public License version 2.1 requirements | ||
102 | +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. | ||
103 | +** | ||
104 | +** In addition, as a special exception, Digia gives you certain additional | ||
105 | +** rights. These rights are described in the Digia Qt LGPL Exception | ||
106 | +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. | ||
107 | +** | ||
108 | +** GNU General Public License Usage | ||
109 | +** Alternatively, this file may be used under the terms of the GNU | ||
110 | +** General Public License version 3.0 as published by the Free Software | ||
111 | +** Foundation and appearing in the file LICENSE.GPL included in the | ||
112 | +** packaging of this file. Please review the following information to | ||
113 | +** ensure the GNU General Public License version 3.0 requirements will be | ||
114 | +** met: http://www.gnu.org/copyleft/gpl.html. | ||
115 | +** | ||
116 | +** | ||
117 | +** $QT_END_LICENSE$ | ||
118 | +** | ||
119 | +****************************************************************************/ | ||
120 | + | ||
121 | +#include "../linux-g++/qplatformdefs.h" | ||
122 | -- | ||
123 | 2.1.0 | ||
124 | |||