diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-11-06 10:22:59 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-11-06 10:24:34 +0200 |
commit | 0ffe06cb808b1d321c55ff58c7f1184d6d3465fe (patch) | |
tree | bd917422c8d53fdea43b10ac50ed3e7836ef515b /recipes-qt/qt5/qtbase/0010-Add-OE-specific-specs-for-clang-compiler.patch | |
parent | 2401cc3106e6f6e1d9c2a3016110cfa914a13dab (diff) | |
parent | d27de8ecd0308b548739f82cb8e1982d31c84085 (diff) | |
download | meta-qt5-0ffe06cb808b1d321c55ff58c7f1184d6d3465fe.tar.gz |
Merge remote-tracking branch 'qtyocto/5.9' into 5.10
* qtyocto/5.9:
qt5: update submodules to 5.9.3 (snapshot 1)
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.9
qt5-ptest.inc: fix qtxmlpatterns:do_install_ptest out-of-order call
meta-qt5: Update to 5.9.2 release
qt5: add missing commercial license
qtxmlpatterns: Add HOMEPAGE info into recipe file.
qttools: Add HOMEPAGE info into recipe file.
qtsvg: Add HOMEPAGE info into recipe file.
qtscript: Add HOMEPAGE info into recipe file.
qtquick1: Add HOMEPAGE info into recipe file.
qtdeclarative: Add HOMEPAGE info into recipe file.
meta: drop a useless file
qtbase-native: Force use of built-in pcre
qtbase-native: set path to mkspec for cmake properly again
qtbase: Fix build with musl/clang
qtbase: Add OE clang specific mkspecs
Conflicts:
recipes-qt/qt5/nativesdk-qtbase_git.bb
recipes-qt/qt5/qt3d_git.bb
recipes-qt/qt5/qtbase-native_git.bb
recipes-qt/qt5/qtbase_git.bb
recipes-qt/qt5/qtcanvas3d_git.bb
recipes-qt/qt5/qtcharts_git.bb
recipes-qt/qt5/qtconnectivity_git.bb
recipes-qt/qt5/qtdatavis3d_git.bb
recipes-qt/qt5/qtdeclarative_git.bb
recipes-qt/qt5/qtgamepad_git.bb
recipes-qt/qt5/qtgraphicaleffects_git.bb
recipes-qt/qt5/qtimageformats_git.bb
recipes-qt/qt5/qtlocation_git.bb
recipes-qt/qt5/qtmultimedia_git.bb
recipes-qt/qt5/qtnetworkauth_git.bb
recipes-qt/qt5/qtquickcontrols2_git.bb
recipes-qt/qt5/qtquickcontrols_git.bb
recipes-qt/qt5/qtremoteobjects_git.bb
recipes-qt/qt5/qtscript_git.bb
recipes-qt/qt5/qtscxml_git.bb
recipes-qt/qt5/qtsensors_git.bb
recipes-qt/qt5/qtserialbus_git.bb
recipes-qt/qt5/qtserialport_git.bb
recipes-qt/qt5/qtsvg_git.bb
recipes-qt/qt5/qttools_git.bb
recipes-qt/qt5/qttranslations_git.bb
recipes-qt/qt5/qtvirtualkeyboard_git.bb
recipes-qt/qt5/qtwayland_git.bb
recipes-qt/qt5/qtwebchannel_git.bb
recipes-qt/qt5/qtwebengine_git.bb
recipes-qt/qt5/qtwebsockets_git.bb
recipes-qt/qt5/qtwebview_git.bb
recipes-qt/qt5/qtx11extras_git.bb
recipes-qt/qt5/qtxmlpatterns_git.bb
Change-Id: I562a75fd4af7f667c32cf13e1b486d1ac498821b
Diffstat (limited to 'recipes-qt/qt5/qtbase/0010-Add-OE-specific-specs-for-clang-compiler.patch')
-rw-r--r-- | recipes-qt/qt5/qtbase/0010-Add-OE-specific-specs-for-clang-compiler.patch | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase/0010-Add-OE-specific-specs-for-clang-compiler.patch b/recipes-qt/qt5/qtbase/0010-Add-OE-specific-specs-for-clang-compiler.patch new file mode 100644 index 00000000..b019f67c --- /dev/null +++ b/recipes-qt/qt5/qtbase/0010-Add-OE-specific-specs-for-clang-compiler.patch | |||
@@ -0,0 +1,72 @@ | |||
1 | From 3a46fb7b47d19c5261e1590f8d70fe41443def64 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 3 Sep 2017 09:11:44 -0700 | ||
4 | Subject: [PATCH] Add OE specific specs for clang compiler | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | mkspecs/linux-oe-clang/qmake.conf | 43 ++++++++++++++++++++++++++++++++++ | ||
9 | mkspecs/linux-oe-clang/qplatformdefs.h | 1 + | ||
10 | 2 files changed, 44 insertions(+) | ||
11 | create mode 100644 mkspecs/linux-oe-clang/qmake.conf | ||
12 | create mode 100644 mkspecs/linux-oe-clang/qplatformdefs.h | ||
13 | |||
14 | diff --git a/mkspecs/linux-oe-clang/qmake.conf b/mkspecs/linux-oe-clang/qmake.conf | ||
15 | new file mode 100644 | ||
16 | index 0000000000..ffc9f051db | ||
17 | --- /dev/null | ||
18 | +++ b/mkspecs/linux-oe-clang/qmake.conf | ||
19 | @@ -0,0 +1,43 @@ | ||
20 | +# | ||
21 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded | ||
22 | +# | ||
23 | + | ||
24 | +MAKEFILE_GENERATOR = UNIX | ||
25 | +CONFIG += incremental | ||
26 | +QMAKE_INCREMENTAL_STYLE = sublib | ||
27 | + | ||
28 | +include(../common/linux.conf) | ||
29 | + | ||
30 | +# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip | ||
31 | +QMAKE_AR = $$(OE_QMAKE_AR) cqs | ||
32 | +QMAKE_STRIP = $$(OE_QMAKE_STRIP) | ||
33 | +QMAKE_WAYLAND_SCANNER = $$(OE_QMAKE_WAYLAND_SCANNER) | ||
34 | + | ||
35 | +include(../common/gcc-base-unix.conf) | ||
36 | + | ||
37 | +# *FLAGS from gcc-base.conf | ||
38 | +QMAKE_CFLAGS += $$(OE_QMAKE_CFLAGS) | ||
39 | +QMAKE_CXXFLAGS += $$(OE_QMAKE_CXXFLAGS) | ||
40 | +QMAKE_LFLAGS += $$(OE_QMAKE_LDFLAGS) | ||
41 | + | ||
42 | +include(../common/clang.conf) | ||
43 | + | ||
44 | +# tc settings from g++-base.conf | ||
45 | +QMAKE_COMPILER = $$(OE_QMAKE_COMPILER) clang | ||
46 | +QMAKE_CC = $$(OE_QMAKE_CC) | ||
47 | +QMAKE_CXX = $$(OE_QMAKE_CXX) | ||
48 | + | ||
49 | +QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$(OE_QMAKE_CFLAGS) | ||
50 | + | ||
51 | +QMAKE_LINK = $$(OE_QMAKE_LINK) | ||
52 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) | ||
53 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) | ||
54 | +QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK) | ||
55 | + | ||
56 | +# for the SDK | ||
57 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG) | ||
58 | + | ||
59 | +include(../oe-device-extra.pri) | ||
60 | + | ||
61 | +load(device_config) | ||
62 | +load(qt_config) | ||
63 | diff --git a/mkspecs/linux-oe-clang/qplatformdefs.h b/mkspecs/linux-oe-clang/qplatformdefs.h | ||
64 | new file mode 100644 | ||
65 | index 0000000000..880c927b21 | ||
66 | --- /dev/null | ||
67 | +++ b/mkspecs/linux-oe-clang/qplatformdefs.h | ||
68 | @@ -0,0 +1 @@ | ||
69 | +#include "../linux-clang/qplatformdefs.h" | ||
70 | -- | ||
71 | 2.14.1 | ||
72 | |||