diff options
| -rw-r--r-- | recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch | 71 | ||||
| -rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 1 |
2 files changed, 72 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch b/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch new file mode 100644 index 00000000..89f56e05 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | From 9d2fafdd9a15adf51d8383bdd545d73e76ad0428 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
| 3 | Date: Mon, 11 May 2015 13:47:06 +0300 | ||
| 4 | Subject: [PATCH] Generate usable qmake_extras.gypi | ||
| 5 | |||
| 6 | Running qmake recursively does not take .depends into account, so | ||
| 7 | the SUBDIRS need to be in correct order so that qmake_extras.gypi | ||
| 8 | is used for the ninja files. Do no try to write compiler tools as | ||
| 9 | it will break the build. | ||
| 10 | |||
| 11 | Task-number: QTBUG-45706 | ||
| 12 | Upstream-Status: Pending | ||
| 13 | --- | ||
| 14 | src/core/core.pro | 7 ++++--- | ||
| 15 | src/core/gyp_configure_host.pro | 3 --- | ||
| 16 | src/core/gyp_configure_target.pro | 3 --- | ||
| 17 | 3 files changed, 4 insertions(+), 9 deletions(-) | ||
| 18 | |||
| 19 | diff --git a/src/core/core.pro b/src/core/core.pro | ||
| 20 | index cf00f39..747b711 100644 | ||
| 21 | --- a/src/core/core.pro | ||
| 22 | +++ b/src/core/core.pro | ||
| 23 | @@ -12,9 +12,7 @@ gyp_run.depends = core_gyp_generator | ||
| 24 | core_module.file = core_module.pro | ||
| 25 | core_module.depends = gyp_run | ||
| 26 | |||
| 27 | -SUBDIRS += core_gyp_generator \ | ||
| 28 | - gyp_run \ | ||
| 29 | - core_module | ||
| 30 | +SUBDIRS += core_gyp_generator | ||
| 31 | |||
| 32 | !win32 { | ||
| 33 | # gyp_configure_host.pro and gyp_configure_target.pro are phony pro files that | ||
| 34 | @@ -28,3 +26,6 @@ SUBDIRS += core_gyp_generator \ | ||
| 35 | gyp_run.depends += gyp_configure_host gyp_configure_target | ||
| 36 | SUBDIRS += gyp_configure_host gyp_configure_target | ||
| 37 | } | ||
| 38 | + | ||
| 39 | +SUBDIRS += gyp_run \ | ||
| 40 | + core_module | ||
| 41 | diff --git a/src/core/gyp_configure_host.pro b/src/core/gyp_configure_host.pro | ||
| 42 | index 3eb6738..d6820c4 100644 | ||
| 43 | --- a/src/core/gyp_configure_host.pro | ||
| 44 | +++ b/src/core/gyp_configure_host.pro | ||
| 45 | @@ -6,9 +6,6 @@ option(host_build) | ||
| 46 | |||
| 47 | GYPI_CONTENTS = "{" \ | ||
| 48 | " 'make_global_settings': [" \ | ||
| 49 | - " ['CC.host', '$$which($$QMAKE_CC)']," \ | ||
| 50 | - " ['CXX.host', '$$which($$QMAKE_CXX)']," \ | ||
| 51 | - " ['LD.host', '$$which($$QMAKE_LINK)']," | ||
| 52 | |||
| 53 | GYPI_FILE = $$absolute_path('qmake_extras.gypi') | ||
| 54 | !build_pass { | ||
| 55 | diff --git a/src/core/gyp_configure_target.pro b/src/core/gyp_configure_target.pro | ||
| 56 | index 4d52044..f02bfa0 100644 | ||
| 57 | --- a/src/core/gyp_configure_target.pro | ||
| 58 | +++ b/src/core/gyp_configure_target.pro | ||
| 59 | @@ -3,9 +3,6 @@ TEMPLATE = aux | ||
| 60 | |||
| 61 | TOOLCHAIN_INCLUDES = $${QMAKE_INCDIR_EGL} $${INCLUDEPATH} $${QMAKE_INCDIR} | ||
| 62 | |||
| 63 | -GYPI_CONTENTS += " ['CC', '$$which($$QMAKE_CC)']," \ | ||
| 64 | - " ['CXX', '$$which($$QMAKE_CXX)']," \ | ||
| 65 | - " ['LD', '$$which($$QMAKE_LINK)']," | ||
| 66 | GYPI_CONTENTS += " ]," \ | ||
| 67 | " 'target_defaults': {" \ | ||
| 68 | " 'target_conditions': [" \ | ||
| 69 | -- | ||
| 70 | 1.9.1 | ||
| 71 | |||
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 27873b77..6685e53a 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
| @@ -79,6 +79,7 @@ SRC_URI += " \ | |||
| 79 | file://0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch \ | 79 | file://0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch \ |
| 80 | file://0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch \ | 80 | file://0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch \ |
| 81 | file://0003-functions.prf-allow-build-for-linux-oe-g-platform.patch \ | 81 | file://0003-functions.prf-allow-build-for-linux-oe-g-platform.patch \ |
| 82 | file://0004-Generate-usable-qmake_extras.gypi.patch \ | ||
| 82 | file://0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch \ | 83 | file://0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch \ |
| 83 | " | 84 | " |
| 84 | SRCREV_qtwebengine = "c6573119006014ff7bc0efb2da16ea35d302a1ec" | 85 | SRCREV_qtwebengine = "c6573119006014ff7bc0efb2da16ea35d302a1ec" |
