summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2017-08-27 17:44:52 +0300
committerMikko Gronoff <mikko.gronoff@qt.io>2017-09-05 05:58:25 +0000
commite7aec5e219486e10d4145ddd25df4ee6bd7246c9 (patch)
tree863317d0681862784a144f617ed2ca312a7f7825 /recipes-qt/qt5/qtwebengine
parent7beedb16cd1ab7afd7ace29a2eea3f5f7d7140a3 (diff)
downloadmeta-qt5-e7aec5e219486e10d4145ddd25df4ee6bd7246c9.tar.gz
qt5: update submodules
Update submodules, change from dev to 5.10 branch Change-Id: Iaabd27a1b2db2a3d28d2f3d4377d1386a86646c2 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine')
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch40
1 files changed, 34 insertions, 6 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch
index e10d3b82..148b0629 100644
--- a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch
+++ b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch
@@ -1,4 +1,4 @@
1From 5c879db32cde9bee9c9073842ecc281172f19453 Mon Sep 17 00:00:00 2001 1From e7d1e5dfdece59f247a1d71ad0ca1b0c8cadda21 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 15 Mar 2017 13:53:28 +0200 3Date: Wed, 15 Mar 2017 13:53:28 +0200
4Subject: [PATCH] Force host toolchain configuration 4Subject: [PATCH] Force host toolchain configuration
@@ -6,17 +6,32 @@ Subject: [PATCH] Force host toolchain configuration
6Force gcc/g++ to be used for parts using host toolchain, since 6Force gcc/g++ to be used for parts using host toolchain, since
7the option(host_build) does not work in yocto builds. 7the option(host_build) does not work in yocto builds.
8 8
9Don't use QT_ARCH for the host architecture, since that's always
10the target architecture in bitbake builds, instead ask specifically
11for the qmakes's host architecture.
12
13Change-Id: I38329d545e527dbc5892547b6951822171ab761f
9Upstream-Status: Inappropriate [OE specific] 14Upstream-Status: Inappropriate [OE specific]
10Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> 15Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
11--- 16---
12 src/buildtools/configure_host.pro | 12 ++++++------ 17 src/buildtools/configure_host.pro | 14 +++++++-------
13 1 file changed, 6 insertions(+), 6 deletions(-) 18 src/core/config/linux.pri | 2 +-
19 2 files changed, 8 insertions(+), 8 deletions(-)
14 20
15diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro 21diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro
16index d8d731d..89dade4 100644 22index f1b3d47..1212372 100644
17--- a/src/buildtools/configure_host.pro 23--- a/src/buildtools/configure_host.pro
18+++ b/src/buildtools/configure_host.pro 24+++ b/src/buildtools/configure_host.pro
19@@ -16,9 +16,9 @@ GN_CONTENTS = \ 25@@ -4,7 +4,7 @@ TEMPLATE = aux
26 # Pick up the host toolchain
27 option(host_build)
28
29-GN_HOST_CPU = $$gnArch($$QT_ARCH)
30+GN_HOST_CPU = $$gnArch($$QMAKE_HOST.arch)
31 !isEmpty(QT_TARGET_ARCH): GN_TARGET_CPU = $$gnArch($$QT_TARGET_ARCH)
32 else: GN_TARGET_CPU = $$GN_HOST_CPU
33 GN_OS = $$gnOS()
34@@ -29,9 +29,9 @@ GN_CONTENTS = \
20 "import(\"//build/config/sysroot.gni\")" \ 35 "import(\"//build/config/sysroot.gni\")" \
21 "import(\"//build/toolchain/gcc_toolchain.gni\")" \ 36 "import(\"//build/toolchain/gcc_toolchain.gni\")" \
22 "gcc_toolchain(\"host\") {" \ 37 "gcc_toolchain(\"host\") {" \
@@ -29,7 +44,7 @@ index d8d731d..89dade4 100644
29 " ar = \"$$which(ar)\" " \ 44 " ar = \"$$which(ar)\" " \
30 " nm = \"$$which(nm)\" " \ 45 " nm = \"$$which(nm)\" " \
31 " toolchain_args = { " \ 46 " toolchain_args = { " \
32@@ -27,9 +27,9 @@ GN_CONTENTS = \ 47@@ -42,9 +42,9 @@ GN_CONTENTS = \
33 " } " \ 48 " } " \
34 "}" \ 49 "}" \
35 "gcc_toolchain(\"v8_snapshot\") {" \ 50 "gcc_toolchain(\"v8_snapshot\") {" \
@@ -42,6 +57,19 @@ index d8d731d..89dade4 100644
42 " ar = \"$$which(ar)\" " \ 57 " ar = \"$$which(ar)\" " \
43 " nm = \"$$which(nm)\" " \ 58 " nm = \"$$which(nm)\" " \
44 " toolchain_args = { " \ 59 " toolchain_args = { " \
60diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri
61index 714c864..f66ca55 100644
62--- a/src/core/config/linux.pri
63+++ b/src/core/config/linux.pri
64@@ -98,7 +98,7 @@ contains(QT_ARCH, "mips"):!host_build {
65
66 host_build {
67 gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\"
68- GN_HOST_CPU = $$gnArch($$QT_ARCH)
69+ GN_HOST_CPU = $$gnArch($$QMAKE_HOST.arch)
70 gn_args += host_cpu=\"$$GN_HOST_CPU\"
71 # Don't bother trying to use system libraries in this case
72 gn_args += use_glib=false
45diff --git a/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py b/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py 73diff --git a/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py b/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py
46index 75b9690..601f688 100755 74index 75b9690..601f688 100755
47--- a/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py 75--- a/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py