diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2017-08-17 10:17:16 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-08-17 12:04:04 +0000 |
commit | 5bac910f95453d0df6fe540778dd16a9707dcabf (patch) | |
tree | 34ce6cf7647b3d1f9981ecf2e1345e424b0dbe5a | |
parent | 67479595ef5130e9c9bfcb8c2688a1351a7218fb (diff) | |
download | meta-qt5-5bac910f95453d0df6fe540778dd16a9707dcabf.tar.gz |
qtwebengine: update to 5.9.2
Needs additional patching to resolve host architecture correctly.
Task-number: QTBUG-62450
Change-Id: I9bd55839c9a1687ade30006ac9cfd36f5fce4648
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r-- | recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch | 40 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 4 |
2 files changed, 36 insertions, 8 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 @@ | |||
1 | From 5c879db32cde9bee9c9073842ecc281172f19453 Mon Sep 17 00:00:00 2001 | 1 | From e7d1e5dfdece59f247a1d71ad0ca1b0c8cadda21 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 15 Mar 2017 13:53:28 +0200 | 3 | Date: Wed, 15 Mar 2017 13:53:28 +0200 |
4 | Subject: [PATCH] Force host toolchain configuration | 4 | Subject: [PATCH] Force host toolchain configuration |
@@ -6,17 +6,32 @@ Subject: [PATCH] Force host toolchain configuration | |||
6 | Force gcc/g++ to be used for parts using host toolchain, since | 6 | Force gcc/g++ to be used for parts using host toolchain, since |
7 | the option(host_build) does not work in yocto builds. | 7 | the option(host_build) does not work in yocto builds. |
8 | 8 | ||
9 | Don't use QT_ARCH for the host architecture, since that's always | ||
10 | the target architecture in bitbake builds, instead ask specifically | ||
11 | for the qmakes's host architecture. | ||
12 | |||
13 | Change-Id: I38329d545e527dbc5892547b6951822171ab761f | ||
9 | Upstream-Status: Inappropriate [OE specific] | 14 | Upstream-Status: Inappropriate [OE specific] |
10 | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> | 15 | Signed-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 | ||
15 | diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro | 21 | diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro |
16 | index d8d731d..89dade4 100644 | 22 | index 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 = { " \ |
60 | diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri | ||
61 | index 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 | ||
45 | diff --git a/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py b/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py | 73 | diff --git a/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py b/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py |
46 | index 75b9690..601f688 100755 | 74 | index 75b9690..601f688 100755 |
47 | --- a/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py | 75 | --- a/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py |
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 6a8791d8..0c5c8fca 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -113,8 +113,8 @@ SRC_URI += " \ | |||
113 | file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \ | 113 | file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \ |
114 | " | 114 | " |
115 | 115 | ||
116 | SRCREV_qtwebengine = "0340d87b7c12a5e56966e61db156e4a299b57bd9" | 116 | SRCREV_qtwebengine = "d4c621f6a6b87f2a86069fa393b9f7c4f9e7b9ad" |
117 | SRCREV_chromium = "c66a939fc7fcbe9cff6a1c94c81ec925133e63b8" | 117 | SRCREV_chromium = "21508b5b5421f10ba8627c3c66c5281efb39b2f9" |
118 | SRCREV = "${SRCREV_qtwebengine}" | 118 | SRCREV = "${SRCREV_qtwebengine}" |
119 | 119 | ||
120 | SRCREV_FORMAT = "qtwebengine_chromium" | 120 | SRCREV_FORMAT = "qtwebengine_chromium" |