diff options
-rw-r--r-- | recipes-qt/qt5/nativesdk-qtbase_git.bb | 7 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase-native_git.bb | 9 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0015-double-conversion-support-AARCH64EB-and-arm-BE.patch | 40 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch (renamed from recipes-qt/qt5/qtbase/0015-Always-build-uic-and-qvkgen.patch) | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch (renamed from recipes-qt/qt5/qtbase/0016-Bootstrap-without-linkat-feature.patch) | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 3 |
6 files changed, 53 insertions, 10 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index caa2d6ab..ac16e5d8 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -23,7 +23,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:" | |||
23 | 23 | ||
24 | # common for qtbase-native, qtbase-nativesdk and qtbase | 24 | # common for qtbase-native, qtbase-nativesdk and qtbase |
25 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared | 25 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared |
26 | # 5.11.meta-qt5-shared.8 | 26 | # 5.11.meta-qt5-shared.9 |
27 | SRC_URI += "\ | 27 | SRC_URI += "\ |
28 | file://0001-Add-linux-oe-g-platform.patch \ | 28 | file://0001-Add-linux-oe-g-platform.patch \ |
29 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 29 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -39,13 +39,14 @@ SRC_URI += "\ | |||
39 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ | 39 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ |
40 | file://0013-Upgrade-double-conversion-to-v3.0.0.patch \ | 40 | file://0013-Upgrade-double-conversion-to-v3.0.0.patch \ |
41 | file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ | 41 | file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ |
42 | file://0015-double-conversion-support-AARCH64EB-and-arm-BE.patch \ | ||
42 | " | 43 | " |
43 | 44 | ||
44 | # common for qtbase-native and nativesdk-qtbase | 45 | # common for qtbase-native and nativesdk-qtbase |
45 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native | 46 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native |
46 | # 5.11.meta-qt5-native.8 | 47 | # 5.11.meta-qt5-native.9 |
47 | SRC_URI += " \ | 48 | SRC_URI += " \ |
48 | file://0015-Always-build-uic-and-qvkgen.patch \ | 49 | file://0016-Always-build-uic-and-qvkgen.patch \ |
49 | " | 50 | " |
50 | 51 | ||
51 | # CMake's toolchain configuration of nativesdk-qtbase | 52 | # CMake's toolchain configuration of nativesdk-qtbase |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index a01d19d9..25d0963c 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -18,7 +18,7 @@ require qt5-git.inc | |||
18 | 18 | ||
19 | # common for qtbase-native, qtbase-nativesdk and qtbase | 19 | # common for qtbase-native, qtbase-nativesdk and qtbase |
20 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared | 20 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared |
21 | # 5.11.meta-qt5-shared.8 | 21 | # 5.11.meta-qt5-shared.9 |
22 | SRC_URI += "\ | 22 | SRC_URI += "\ |
23 | file://0001-Add-linux-oe-g-platform.patch \ | 23 | file://0001-Add-linux-oe-g-platform.patch \ |
24 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 24 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -34,18 +34,19 @@ SRC_URI += "\ | |||
34 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ | 34 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ |
35 | file://0013-Upgrade-double-conversion-to-v3.0.0.patch \ | 35 | file://0013-Upgrade-double-conversion-to-v3.0.0.patch \ |
36 | file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ | 36 | file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ |
37 | file://0015-double-conversion-support-AARCH64EB-and-arm-BE.patch \ | ||
37 | " | 38 | " |
38 | 39 | ||
39 | # common for qtbase-native and nativesdk-qtbase | 40 | # common for qtbase-native and nativesdk-qtbase |
40 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.10-native | 41 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.10-native |
41 | # 5.11.meta-qt5-native.8 | 42 | # 5.11.meta-qt5-native.9 |
42 | SRC_URI += " \ | 43 | SRC_URI += " \ |
43 | file://0015-Always-build-uic-and-qvkgen.patch \ | 44 | file://0016-Always-build-uic-and-qvkgen.patch \ |
44 | " | 45 | " |
45 | 46 | ||
46 | # only for qtbase-native | 47 | # only for qtbase-native |
47 | SRC_URI += " \ | 48 | SRC_URI += " \ |
48 | file://0016-Bootstrap-without-linkat-feature.patch \ | 49 | file://0017-Bootstrap-without-linkat-feature.patch \ |
49 | " | 50 | " |
50 | 51 | ||
51 | CLEANBROKEN = "1" | 52 | CLEANBROKEN = "1" |
diff --git a/recipes-qt/qt5/qtbase/0015-double-conversion-support-AARCH64EB-and-arm-BE.patch b/recipes-qt/qt5/qtbase/0015-double-conversion-support-AARCH64EB-and-arm-BE.patch new file mode 100644 index 00000000..64e454a2 --- /dev/null +++ b/recipes-qt/qt5/qtbase/0015-double-conversion-support-AARCH64EB-and-arm-BE.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 3aada36f6706f86b811dafb26e622cd6c99341d6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
3 | Date: Wed, 29 Aug 2018 18:20:14 +0900 | ||
4 | Subject: [PATCH] double-conversion: support AARCH64EB and arm BE | ||
5 | |||
6 | Big endian can work well. So, | ||
7 | - Make qtbase support aarch64 BE | ||
8 | - Make qtbase support arm BE | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Change-Id: Ie5b104fa2b23af8e89bae57fb56f3663be1bbb48 | ||
13 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
14 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
15 | --- | ||
16 | .../double-conversion/include/double-conversion/utils.h | 4 ++-- | ||
17 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
18 | |||
19 | diff --git a/src/3rdparty/double-conversion/include/double-conversion/utils.h b/src/3rdparty/double-conversion/include/double-conversion/utils.h | ||
20 | index ca7646d817..69aa17171c 100644 | ||
21 | --- a/src/3rdparty/double-conversion/include/double-conversion/utils.h | ||
22 | +++ b/src/3rdparty/double-conversion/include/double-conversion/utils.h | ||
23 | @@ -68,7 +68,7 @@ inline void abort_noreturn() { abort(); } | ||
24 | // disabled.) | ||
25 | // On Linux,x86 89255e-22 != Div_double(89255.0/1e22) | ||
26 | #if defined(_M_X64) || defined(__x86_64__) || \ | ||
27 | - defined(__ARMEL__) || defined(__avr32__) || _M_ARM_FP || \ | ||
28 | + defined(__arm__) || defined(__avr32__) || _M_ARM_FP || \ | ||
29 | defined(__hppa__) || defined(__ia64__) || \ | ||
30 | defined(__mips__) || \ | ||
31 | defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ | ||
32 | @@ -76,7 +76,7 @@ inline void abort_noreturn() { abort(); } | ||
33 | defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ | ||
34 | defined(__SH4__) || defined(__alpha__) || \ | ||
35 | defined(_MIPS_ARCH_MIPS32R2) || \ | ||
36 | - defined(__AARCH64EL__) || defined(__aarch64__) || \ | ||
37 | + defined(__AARCH64EL__) || defined(__AARCH64EB__) || defined(__aarch64__) || \ | ||
38 | defined(__riscv) | ||
39 | #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 | ||
40 | #elif defined(__mc68000__) | ||
diff --git a/recipes-qt/qt5/qtbase/0015-Always-build-uic-and-qvkgen.patch b/recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch index e021d0b1..dfef2508 100644 --- a/recipes-qt/qt5/qtbase/0015-Always-build-uic-and-qvkgen.patch +++ b/recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From e590966ce7344a79e6ff0593076fdca5b3ec72c8 Mon Sep 17 00:00:00 2001 | 1 | From c6edfce8778d1497383124d5a9ed9cb7b9edb1d4 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 16 Nov 2013 00:32:30 +0100 | 3 | Date: Sat, 16 Nov 2013 00:32:30 +0100 |
4 | Subject: [PATCH] Always build uic and qvkgen | 4 | Subject: [PATCH] Always build uic and qvkgen |
diff --git a/recipes-qt/qt5/qtbase/0016-Bootstrap-without-linkat-feature.patch b/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch index 7c6787fb..c191a421 100644 --- a/recipes-qt/qt5/qtbase/0016-Bootstrap-without-linkat-feature.patch +++ b/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ee9048d24045e2f39a4236557d9247c1cad993a5 Mon Sep 17 00:00:00 2001 | 1 | From 365b1b7059d333331a208418b66e9107dc2a4fcc 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: Fri, 24 Nov 2017 15:16:31 +0200 | 3 | Date: Fri, 24 Nov 2017 15:16:31 +0200 |
4 | Subject: [PATCH] Bootstrap without linkat feature | 4 | Subject: [PATCH] Bootstrap without linkat feature |
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 1142097b..72fa2301 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = " \ | |||
14 | 14 | ||
15 | # common for qtbase-native, qtbase-nativesdk and qtbase | 15 | # common for qtbase-native, qtbase-nativesdk and qtbase |
16 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared | 16 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared |
17 | # 5.11.meta-qt5-shared.8 | 17 | # 5.11.meta-qt5-shared.9 |
18 | SRC_URI += "\ | 18 | SRC_URI += "\ |
19 | file://0001-Add-linux-oe-g-platform.patch \ | 19 | file://0001-Add-linux-oe-g-platform.patch \ |
20 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 20 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -30,6 +30,7 @@ SRC_URI += "\ | |||
30 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ | 30 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ |
31 | file://0013-Upgrade-double-conversion-to-v3.0.0.patch \ | 31 | file://0013-Upgrade-double-conversion-to-v3.0.0.patch \ |
32 | file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ | 32 | file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ |
33 | file://0015-double-conversion-support-AARCH64EB-and-arm-BE.patch \ | ||
33 | " | 34 | " |
34 | 35 | ||
35 | 36 | ||