diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2018-03-09 10:43:20 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2018-03-09 10:59:10 +0000 |
commit | d9985542d7617b43ec7180c7ade0c4f64db82b42 (patch) | |
tree | 6c95ea16b72a2330bb696a6380ec221402379b1d | |
parent | fd03fa6e8395ae814d0d588cab1cb6f51befa6c1 (diff) | |
parent | cb9fe99a41d6e0855cb6a7d5febc903b42c52d28 (diff) | |
download | meta-boot2qt-d9985542d7617b43ec7180c7ade0c4f64db82b42.tar.gz |
Merge "Merge remote-tracking branch 'origin/morty' into pyro" into refs/staging/pyro
27 files changed, 295 insertions, 183 deletions
diff --git a/conf/distro/include/smarc-samx6i.conf b/conf/distro/include/smarc-samx6i.conf index 39dd17d..240e3dd 100644 --- a/conf/distro/include/smarc-samx6i.conf +++ b/conf/distro/include/smarc-samx6i.conf | |||
@@ -40,3 +40,6 @@ MACHINE_EXTRA_INSTALL += "\ | |||
40 | KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture" | 40 | KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture" |
41 | 41 | ||
42 | BBMASK += "meta-smx6/recipes-qt" | 42 | BBMASK += "meta-smx6/recipes-qt" |
43 | |||
44 | # examples is added in meta-smx6 layer conf | ||
45 | PACKAGECONFIG_remove_pn-qtbase = "examples" | ||
diff --git a/meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch b/meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch new file mode 100644 index 0000000..e49695b --- /dev/null +++ b/meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 2f68fcaaf4964e7feeb383f5c26851965cda037c Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 15 Nov 2016 15:20:49 +0200 | ||
4 | Subject: [PATCH] Simplify wayland-scanner lookup | ||
5 | |||
6 | Don't use pkg-config to lookup the path of a binary that's in the path. | ||
7 | |||
8 | Alternatively we'd have to prefix the path returned by pkg-config with | ||
9 | PKG_CONFIG_SYSROOT_DIR. | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
13 | --- | ||
14 | configure.ac | 7 +------ | ||
15 | 1 file changed, 1 insertion(+), 6 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index e56e35a..a92005a 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -2020,12 +2020,7 @@ if test "x$with_egl_platforms" != "x" -a "x$enable_egl" != xyes; then | ||
22 | AC_MSG_ERROR([cannot build egl state tracker without EGL library]) | ||
23 | fi | ||
24 | |||
25 | -PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner], | ||
26 | - WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`, | ||
27 | - WAYLAND_SCANNER='') | ||
28 | -if test "x$WAYLAND_SCANNER" = x; then | ||
29 | - AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner]) | ||
30 | -fi | ||
31 | +AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner]) | ||
32 | |||
33 | # Do per-EGL platform setups and checks | ||
34 | egl_platforms=`IFS=', '; echo $with_egl_platforms` | ||
35 | -- | ||
36 | 2.1.4 | ||
37 | |||
diff --git a/meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch b/meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch new file mode 100644 index 0000000..d2d6755 --- /dev/null +++ b/meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | Configure checks for compiler to be gcc and then it enables asm_offsets | ||
2 | generation. see | ||
3 | |||
4 | https://cgit.freedesktop.org/mesa/mesa/commit/?id=73c9b4b0e05fc66629ba250846948dc55c0e7a0d | ||
5 | |||
6 | However, we missed the check when enabling this on cross compilation | ||
7 | when architecture for both host and target is x86 | ||
8 | |||
9 | Fixes errors like | ||
10 | ./gen_matypes > matypes.h | ||
11 | /bin/bash: ./gen_matypes: No such file or directory | ||
12 | |||
13 | -Khem | ||
14 | |||
15 | Upstream-Status: Submitted | ||
16 | |||
17 | Index: mesa-12.0.1/configure.ac | ||
18 | =================================================================== | ||
19 | --- mesa-12.0.1.orig/configure.ac | ||
20 | +++ mesa-12.0.1/configure.ac | ||
21 | @@ -732,7 +732,7 @@ test "x$enable_asm" = xno && AC_MSG_RESU | ||
22 | if test "x$enable_asm" = xyes -a "x$cross_compiling" = xyes; then | ||
23 | case "$host_cpu" in | ||
24 | i?86 | x86_64 | amd64) | ||
25 | - if test "x$host_cpu" != "x$target_cpu"; then | ||
26 | + if test "x$host_cpu" != "x$target_cpu" -o "x$acv_mesa_CLANG" = xyes; then | ||
27 | enable_asm=no | ||
28 | AC_MSG_RESULT([no, cross compiling]) | ||
29 | fi | ||
diff --git a/meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch b/meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch new file mode 100644 index 0000000..0280ee8 --- /dev/null +++ b/meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | endianness check is OS wide and not specific to libc | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
7 | --- | ||
8 | src/util/u_endian.h | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/src/util/u_endian.h b/src/util/u_endian.h | ||
12 | index b9d563d..2d5eab9 100644 | ||
13 | --- a/src/util/u_endian.h | ||
14 | +++ b/src/util/u_endian.h | ||
15 | @@ -27,7 +27,7 @@ | ||
16 | #ifndef U_ENDIAN_H | ||
17 | #define U_ENDIAN_H | ||
18 | |||
19 | -#if defined(__GLIBC__) || defined(ANDROID) | ||
20 | +#if defined(__linux__) | ||
21 | #include <endian.h> | ||
22 | |||
23 | #if __BYTE_ORDER == __LITTLE_ENDIAN | ||
24 | -- | ||
25 | 2.1.4 | ||
26 | |||
diff --git a/meta-intel-extras/recipes/mesa/mesa_17.0.2.bb b/meta-intel-extras/recipes/mesa/mesa_17.0.2.bb new file mode 100644 index 0000000..b95f301 --- /dev/null +++ b/meta-intel-extras/recipes/mesa/mesa_17.0.2.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | require recipes-graphics/mesa/${BPN}.inc | ||
2 | |||
3 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/mesa-${PV}.tar.xz \ | ||
4 | file://replace_glibc_check_with_linux.patch \ | ||
5 | file://disable-asm-on-non-gcc.patch \ | ||
6 | file://0001-Use-wayland-scanner-in-the-path.patch \ | ||
7 | " | ||
8 | |||
9 | SRC_URI[md5sum] = "8f808e92b893d412fbd6510e1d16f5c5" | ||
10 | SRC_URI[sha256sum] = "f8f191f909e01e65de38d5bdea5fb057f21649a3aed20948be02348e77a689d4" | ||
11 | |||
12 | #because we cannot rely on the fact that all apps will use pkgconfig, | ||
13 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | ||
14 | do_install_append() { | ||
15 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then | ||
16 | sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h | ||
17 | fi | ||
18 | } | ||
diff --git a/meta-smx6-extras/recipes/linux/linux-smx6/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch b/meta-smx6-extras/recipes/linux/linux-smx6/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch deleted file mode 100644 index ee61a74..0000000 --- a/meta-smx6-extras/recipes/linux/linux-smx6/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From ef372125fd64fc181869be4cf528488f9e8b46c2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Behan Webster <behanw@converseincode.com> | ||
3 | Date: Wed, 24 Sep 2014 01:06:46 +0100 | ||
4 | Subject: [PATCH] ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h | ||
5 | |||
6 | With compilers which follow the C99 standard (like modern versions of gcc and | ||
7 | clang), "extern inline" does the wrong thing (emits code for an externally | ||
8 | linkable version of the inline function). In this case using static inline | ||
9 | and removing the NULL version of return_address in return_address.c does | ||
10 | the right thing. | ||
11 | |||
12 | Signed-off-by: Behan Webster <behanw@converseincode.com> | ||
13 | Reviewed-by: Mark Charlebois <charlebm@gmail.com> | ||
14 | Acked-by: Steven Rostedt <rostedt@goodmis.org> | ||
15 | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | ||
16 | --- | ||
17 | arch/arm/include/asm/ftrace.h | 2 +- | ||
18 | arch/arm/kernel/return_address.c | 5 ----- | ||
19 | 2 files changed, 1 insertion(+), 6 deletions(-) | ||
20 | |||
21 | diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h | ||
22 | index f89515a..2bb8cac 100644 | ||
23 | --- a/arch/arm/include/asm/ftrace.h | ||
24 | +++ b/arch/arm/include/asm/ftrace.h | ||
25 | @@ -45,7 +45,7 @@ void *return_address(unsigned int); | ||
26 | |||
27 | #else | ||
28 | |||
29 | -extern inline void *return_address(unsigned int level) | ||
30 | +static inline void *return_address(unsigned int level) | ||
31 | { | ||
32 | return NULL; | ||
33 | } | ||
34 | diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c | ||
35 | index fafedd8..f6aa84d 100644 | ||
36 | --- a/arch/arm/kernel/return_address.c | ||
37 | +++ b/arch/arm/kernel/return_address.c | ||
38 | @@ -63,11 +63,6 @@ void *return_address(unsigned int level) | ||
39 | #warning "TODO: return_address should use unwind tables" | ||
40 | #endif | ||
41 | |||
42 | -void *return_address(unsigned int level) | ||
43 | -{ | ||
44 | - return NULL; | ||
45 | -} | ||
46 | - | ||
47 | #endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */ | ||
48 | |||
49 | EXPORT_SYMBOL_GPL(return_address); | ||
50 | -- | ||
51 | 1.9.1 | ||
52 | |||
diff --git a/meta-smx6-extras/recipes/linux/linux-smx6/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline-.patch b/meta-smx6-extras/recipes/linux/linux-smx6/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline-.patch deleted file mode 100644 index 064e28b..0000000 --- a/meta-smx6-extras/recipes/linux/linux-smx6/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline-.patch +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | From eb38d22ea05961666878dfb88c68629eacfb1399 Mon Sep 17 00:00:00 2001 | ||
2 | From: Behan Webster <behanw@converseincode.com> | ||
3 | Date: Tue, 3 Sep 2013 22:27:26 -0400 | ||
4 | Subject: [PATCH] ARM: LLVMLinux: Change "extern inline" to "static inline" in | ||
5 | glue-cache.h | ||
6 | |||
7 | With compilers which follow the C99 standard (like modern versions of gcc and | ||
8 | clang), "extern inline" does the wrong thing (emits code for an externally | ||
9 | linkable version of the inline function). "static inline" is the correct choice | ||
10 | instead. | ||
11 | |||
12 | Author: Behan Webster <behanw@converseincode.com> | ||
13 | Signed-off-by: Behan Webster <behanw@converseincode.com> | ||
14 | Reviewed-by: Mark Charlebois <charlebm@gmail.com> | ||
15 | --- | ||
16 | arch/arm/include/asm/glue-cache.h | 22 +++++++++++----------- | ||
17 | 1 file changed, 11 insertions(+), 11 deletions(-) | ||
18 | |||
19 | diff --git a/arch/arm/include/asm/glue-cache.h b/arch/arm/include/asm/glue-cache.h | ||
20 | index c81adc0..a3c24cd 100644 | ||
21 | --- a/arch/arm/include/asm/glue-cache.h | ||
22 | +++ b/arch/arm/include/asm/glue-cache.h | ||
23 | @@ -130,22 +130,22 @@ | ||
24 | #endif | ||
25 | |||
26 | #ifndef __ASSEMBLER__ | ||
27 | -extern inline void nop_flush_icache_all(void) { } | ||
28 | -extern inline void nop_flush_kern_cache_all(void) { } | ||
29 | -extern inline void nop_flush_kern_cache_louis(void) { } | ||
30 | -extern inline void nop_flush_user_cache_all(void) { } | ||
31 | -extern inline void nop_flush_user_cache_range(unsigned long a, | ||
32 | +static inline void nop_flush_icache_all(void) { } | ||
33 | +static inline void nop_flush_kern_cache_all(void) { } | ||
34 | +static inline void nop_flush_kern_cache_louis(void) { } | ||
35 | +static inline void nop_flush_user_cache_all(void) { } | ||
36 | +static inline void nop_flush_user_cache_range(unsigned long a, | ||
37 | unsigned long b, unsigned int c) { } | ||
38 | |||
39 | -extern inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { } | ||
40 | -extern inline int nop_coherent_user_range(unsigned long a, | ||
41 | +static inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { } | ||
42 | +static inline int nop_coherent_user_range(unsigned long a, | ||
43 | unsigned long b) { return 0; } | ||
44 | -extern inline void nop_flush_kern_dcache_area(void *a, size_t s) { } | ||
45 | +static inline void nop_flush_kern_dcache_area(void *a, size_t s) { } | ||
46 | |||
47 | -extern inline void nop_dma_flush_range(const void *a, const void *b) { } | ||
48 | +static inline void nop_dma_flush_range(const void *a, const void *b) { } | ||
49 | |||
50 | -extern inline void nop_dma_map_area(const void *s, size_t l, int f) { } | ||
51 | -extern inline void nop_dma_unmap_area(const void *s, size_t l, int f) { } | ||
52 | +static inline void nop_dma_map_area(const void *s, size_t l, int f) { } | ||
53 | +static inline void nop_dma_unmap_area(const void *s, size_t l, int f) { } | ||
54 | #endif | ||
55 | |||
56 | #ifndef MULTI_CACHE | ||
57 | -- | ||
58 | 1.9.1 | ||
59 | |||
diff --git a/meta-smx6-extras/recipes/linux/linux-smx6/0001-arm-Export-cache-flush-management-symbols-when-MULTI.patch b/meta-smx6-extras/recipes/linux/linux-smx6/0001-arm-Export-cache-flush-management-symbols-when-MULTI.patch deleted file mode 100644 index c61a4dc..0000000 --- a/meta-smx6-extras/recipes/linux/linux-smx6/0001-arm-Export-cache-flush-management-symbols-when-MULTI.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 56e321cd19ee4909ca623ce1c351c966904123a9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Pantelis Antoniou <panto@antoniou-consulting.com> | ||
3 | Date: Fri, 4 Jan 2013 00:32:33 +0200 | ||
4 | Subject: [PATCH] arm: Export cache flush management symbols when !MULTI_CACHE | ||
5 | |||
6 | When compiling a kernel without CONFIG_MULTI_CACHE enabled the | ||
7 | dma access functions end up not being exported. Fix it. | ||
8 | |||
9 | Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com> | ||
10 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
11 | --- | ||
12 | arch/arm/kernel/setup.c | 9 +++++++++ | ||
13 | 1 file changed, 9 insertions(+) | ||
14 | |||
15 | diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c | ||
16 | index 1e8b030..c6a9a61 100644 | ||
17 | --- a/arch/arm/kernel/setup.c | ||
18 | +++ b/arch/arm/kernel/setup.c | ||
19 | @@ -1080,3 +1080,12 @@ const struct seq_operations cpuinfo_op = { | ||
20 | .stop = c_stop, | ||
21 | .show = c_show | ||
22 | }; | ||
23 | + | ||
24 | +/* export the cache management functions */ | ||
25 | +#ifndef MULTI_CACHE | ||
26 | + | ||
27 | +EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area)); | ||
28 | +EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area)); | ||
29 | +EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range)); | ||
30 | + | ||
31 | +#endif | ||
diff --git a/meta-smx6-extras/recipes/linux/linux-smx6_3.14.28.bbappend b/meta-smx6-extras/recipes/linux/linux-smx6_4.10.11.bbappend index 574e60b..c8222b9 100644 --- a/meta-smx6-extras/recipes/linux/linux-smx6_3.14.28.bbappend +++ b/meta-smx6-extras/recipes/linux/linux-smx6_4.10.11.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -27,19 +27,7 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | 30 | do_configure_prepend() { |
31 | SRC_URI += " \ | ||
32 | file://0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch \ | ||
33 | file://0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline-.patch \ | ||
34 | file://0001-arm-Export-cache-flush-management-symbols-when-MULTI.patch \ | ||
35 | " | ||
36 | |||
37 | do_preconfigure_prepend() { | ||
38 | sed -e '/CONFIG_USB_FUNCTIONFS_ETH=/d' \ | ||
39 | -e '/CONFIG_USB_FUNCTIONFS_RNDIS=/d' \ | ||
40 | -i ${WORKDIR}/defconfig | ||
41 | |||
42 | echo "CONFIG_NAMESPACES=y" >> ${WORKDIR}/defconfig | 31 | echo "CONFIG_NAMESPACES=y" >> ${WORKDIR}/defconfig |
43 | echo "CONFIG_FHANDLE=y" >> ${WORKDIR}/defconfig | ||
44 | echo "CONFIG_CGROUPS=y" >> ${WORKDIR}/defconfig | 32 | echo "CONFIG_CGROUPS=y" >> ${WORKDIR}/defconfig |
45 | } | 33 | } |
diff --git a/meta-smx6-extras/recipes/mesa/mesa-etnaviv_17.0.3.bbappend b/meta-smx6-extras/recipes/mesa/mesa-etnaviv_17.0.3.bbappend new file mode 100644 index 0000000..9f11d6a --- /dev/null +++ b/meta-smx6-extras/recipes/mesa/mesa-etnaviv_17.0.3.bbappend | |||
@@ -0,0 +1,32 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2018 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | EXTRA_OECONF += "--disable-libunwind" | ||
31 | |||
32 | PROVIDES += "virtual/libgbm" | ||
diff --git a/meta-smx6-extras/recipes/perf/perf.bbappend b/meta-smx6-extras/recipes/perf/perf.bbappend new file mode 100644 index 0000000..afbed0d --- /dev/null +++ b/meta-smx6-extras/recipes/perf/perf.bbappend | |||
@@ -0,0 +1,30 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2018 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | EXTRA_OEMAKE += "NO_JVMTI=1" | ||
diff --git a/meta-smx6-extras/recipes/qt5/qtbase_git.bbappend b/meta-smx6-extras/recipes/qt5/qtbase_git.bbappend new file mode 100644 index 0000000..602782e --- /dev/null +++ b/meta-smx6-extras/recipes/qt5/qtbase_git.bbappend | |||
@@ -0,0 +1,30 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | PACKAGECONFIG += "gbm kms" | ||
diff --git a/recipes-qt/automotive/gammaray_git.bb b/recipes-qt/automotive/gammaray_git.bb index 6ba1d5c..7466822 100644 --- a/recipes-qt/automotive/gammaray_git.bb +++ b/recipes-qt/automotive/gammaray_git.bb | |||
@@ -2,14 +2,14 @@ SUMMARY = "GammaRay Qt introspection probe" | |||
2 | HOMEPAGE = "http://www.kdab.com/gammaray" | 2 | HOMEPAGE = "http://www.kdab.com/gammaray" |
3 | 3 | ||
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.GPL.txt;md5=560b8b2e529f7a17ee5dde6e5d0c0d69" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.GPL.txt;md5=a5b28ec9718d4516f7a621cd0232afc1" |
6 | 6 | ||
7 | inherit cmake_qt5 | 7 | inherit cmake_qt5 |
8 | 8 | ||
9 | SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}" | 9 | SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}" |
10 | 10 | ||
11 | BRANCH = "master" | 11 | BRANCH = "5.9" |
12 | SRCREV = "bc0ceb37dc8ef8e3a2a09a8fbc3e300f853a58e3" | 12 | SRCREV = "87656b9c344077d84682b53ba3e4676e18b57f9e" |
13 | PV = "${BRANCH}+git${SRCPV}" | 13 | PV = "${BRANCH}+git${SRCPV}" |
14 | 14 | ||
15 | DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml qtscxml-native \ | 15 | DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml qtscxml-native \ |
diff --git a/recipes-qt/automotive/multiscreen-demo/automotivedemo.service b/recipes-qt/automotive/multiscreen-demo/automotivedemo.service new file mode 100644 index 0000000..af23213 --- /dev/null +++ b/recipes-qt/automotive/multiscreen-demo/automotivedemo.service | |||
@@ -0,0 +1,12 @@ | |||
1 | [Unit] | ||
2 | Description=AutomotiveDemo | ||
3 | After=dbus.service dbus-session.service systemd-user-sessions.service | ||
4 | Conflicts=neptune.service | ||
5 | |||
6 | [Service] | ||
7 | ExecStart=/usr/bin/appcontroller /usr/bin/appman -r --dbus session -c am-config.yaml | ||
8 | Restart=on-failure | ||
9 | WorkingDirectory=/opt/automotivedemo | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=multi-user.target | ||
diff --git a/recipes-qt/automotive/multiscreen-demo/tegra-t18x/automotivedemo.service b/recipes-qt/automotive/multiscreen-demo/tegra-t18x/automotivedemo.service new file mode 100644 index 0000000..1025cc1 --- /dev/null +++ b/recipes-qt/automotive/multiscreen-demo/tegra-t18x/automotivedemo.service | |||
@@ -0,0 +1,13 @@ | |||
1 | [Unit] | ||
2 | Description=AutomotiveDemo | ||
3 | After=dbus.service dbus-session.service systemd-user-sessions.service | ||
4 | Conflicts=neptune.service | ||
5 | |||
6 | [Service] | ||
7 | ExecStart=/usr/bin/appcontroller /usr/bin/appman -r --dbus session -c am-config.yaml | ||
8 | Restart=on-failure | ||
9 | WorkingDirectory=/opt/automotivedemo | ||
10 | Environment=QT_QPA_EGLFS_KMS_CONFIG=kms_config.json | ||
11 | |||
12 | [Install] | ||
13 | WantedBy=multi-user.target | ||
diff --git a/recipes-qt/automotive/multiscreen-demo_git.bb b/recipes-qt/automotive/multiscreen-demo_git.bb index 6b4e24f..c81adee 100644 --- a/recipes-qt/automotive/multiscreen-demo_git.bb +++ b/recipes-qt/automotive/multiscreen-demo_git.bb | |||
@@ -37,13 +37,15 @@ require recipes-qt/qt5/qt5-git.inc | |||
37 | QT_GIT_PROJECT = "qt-apps" | 37 | QT_GIT_PROJECT = "qt-apps" |
38 | QT_MODULE_BRANCH = "master" | 38 | QT_MODULE_BRANCH = "master" |
39 | 39 | ||
40 | SRC_URI += "git://github.com/qtproject/qt-apps-demo-assets;protocol=git;name=assets;destsuffix=git/demo-assets" | 40 | SRC_URI += "\ |
41 | git://github.com/qtproject/qt-apps-demo-assets;protocol=git;name=assets;destsuffix=git/demo-assets \ | ||
42 | file://automotivedemo.service \ | ||
43 | " | ||
41 | 44 | ||
42 | SRCREV_multiscreen = "f4cd6b9667b4649b4ef8b4bb645850b05aceebde" | 45 | SRCREV_multiscreen-demo = "6d02e36c4280cee5b0c31323016ae666c73afef4" |
43 | SRCREV_assets = "0d47d21f082d6c9e355a55809ebd38a31ea02264" | 46 | SRCREV_assets = "0d47d21f082d6c9e355a55809ebd38a31ea02264" |
44 | 47 | ||
45 | SRCREV_FORMAT = "multiscreen_assets" | 48 | SRCREV_FORMAT = "multiscreen-demo_assets" |
46 | SRCREV = "${SRCREV_multiscreen}" | ||
47 | 49 | ||
48 | DEPENDS = "qtbase qtdeclarative qt3d" | 50 | DEPENDS = "qtbase qtdeclarative qt3d" |
49 | RDEPENDS_${PN} = "qtapplicationmanager qtivi qtvirtualkeyboard" | 51 | RDEPENDS_${PN} = "qtapplicationmanager qtivi qtvirtualkeyboard" |
@@ -51,10 +53,10 @@ RDEPENDS_${PN} = "qtapplicationmanager qtivi qtvirtualkeyboard" | |||
51 | EXTRA_QMAKEVARS_PRE += "INSTALL_PREFIX=/opt" | 53 | EXTRA_QMAKEVARS_PRE += "INSTALL_PREFIX=/opt" |
52 | 54 | ||
53 | do_install_append() { | 55 | do_install_append() { |
54 | install -m 0755 ${S}/start.sh ${D}/opt/automotivedemo/ | 56 | rm ${D}/opt/automotivedemo/start.sh |
55 | 57 | ||
56 | install -d ${D}${systemd_system_unitdir} | 58 | install -d ${D}${systemd_system_unitdir} |
57 | install -m 0644 ${S}/scripts/automotivedemo.service ${D}${systemd_system_unitdir}/ | 59 | install -m 0644 ${WORKDIR}/automotivedemo.service ${D}${systemd_system_unitdir}/ |
58 | } | 60 | } |
59 | 61 | ||
60 | FILES_${PN} += "\ | 62 | FILES_${PN} += "\ |
diff --git a/recipes-qt/automotive/neptune-ui_git.bb b/recipes-qt/automotive/neptune-ui_git.bb index 37a0cba..5898424 100644 --- a/recipes-qt/automotive/neptune-ui_git.bb +++ b/recipes-qt/automotive/neptune-ui_git.bb | |||
@@ -1,6 +1,7 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2018 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
4 | ## Copyright (C) 2018 Pelagicore AG. | ||
4 | ## Contact: https://www.qt.io/licensing/ | 5 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 6 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 7 | ## This file is part of the Boot to Qt meta layer. |
@@ -43,7 +44,7 @@ SRC_URI += " \ | |||
43 | file://neptune.service \ | 44 | file://neptune.service \ |
44 | " | 45 | " |
45 | 46 | ||
46 | SRCREV = "24f9e00960ccbb3da1ab41899fee38864efe265f" | 47 | SRCREV = "7b64754e5d1aa3ea3b63347bc5637bae9795e193" |
47 | 48 | ||
48 | DEPENDS = "qtbase qtdeclarative qttools-native qtquickcontrols2 qtapplicationmanager" | 49 | DEPENDS = "qtbase qtdeclarative qttools-native qtquickcontrols2 qtapplicationmanager" |
49 | RDEPENDS_${PN} = "qtivi qtvirtualkeyboard dbus \ | 50 | RDEPENDS_${PN} = "qtivi qtvirtualkeyboard dbus \ |
@@ -67,6 +68,6 @@ FILES_${PN}-apps += "/usr/neptune-ui/apps" | |||
67 | FILES_${PN} += "\ | 68 | FILES_${PN} += "\ |
68 | /usr/neptune-ui \ | 69 | /usr/neptune-ui \ |
69 | ${datadir}/fonts/ttf \ | 70 | ${datadir}/fonts/ttf \ |
70 | " | 71 | " |
71 | 72 | ||
72 | SYSTEMD_SERVICE_${PN} = "neptune.service" | 73 | SYSTEMD_SERVICE_${PN} = "neptune.service" |
diff --git a/recipes-qt/automotive/qtapplicationmanager_git.bb b/recipes-qt/automotive/qtapplicationmanager_git.bb index 93fd7ac..ae66e8a 100644 --- a/recipes-qt/automotive/qtapplicationmanager_git.bb +++ b/recipes-qt/automotive/qtapplicationmanager_git.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -29,12 +29,12 @@ | |||
29 | 29 | ||
30 | DESCRIPTION = "Qt component for application lifecycle management" | 30 | DESCRIPTION = "Qt component for application lifecycle management" |
31 | LICENSE = "(GFDL-1.3 & The-Qt-Company-GPL-Exception-1.0 & (LGPL-3.0 | GPL-2.0+)) | The-Qt-Company-DCLA-2.1" | 31 | LICENSE = "(GFDL-1.3 & The-Qt-Company-GPL-Exception-1.0 & (LGPL-3.0 | GPL-2.0+)) | The-Qt-Company-DCLA-2.1" |
32 | LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=43a31c6abffdd61c938811959b3c1b71" | 32 | LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=ff238b33ff354a0d8d79851a9c061717" |
33 | 33 | ||
34 | inherit qt5-module | 34 | inherit qt5-module |
35 | require recipes-qt/qt5/qt5-git.inc | 35 | require recipes-qt/qt5/qt5-git.inc |
36 | 36 | ||
37 | SRCREV = "9295baad5f20cf7b3e12aad37e7255a143b0c89b" | 37 | SRCREV = "5581e400c95a1ff736c55c9d93bd451302970c11" |
38 | 38 | ||
39 | DEPENDS = "qtbase qtdeclarative libyaml libarchive \ | 39 | DEPENDS = "qtbase qtdeclarative libyaml libarchive \ |
40 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" | 40 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" |
@@ -60,9 +60,11 @@ FILES_${PN} += "\ | |||
60 | 60 | ||
61 | BBCLASSEXTEND += "nativesdk" | 61 | BBCLASSEXTEND += "nativesdk" |
62 | 62 | ||
63 | DEPENDS_class-nativesdk = "qtbase nativesdk-glibc-locale nativesdk-libarchive" | 63 | # nativesdk-qtdeclarative is added only to make build deterministic, can be removed once |
64 | DEPENDS_class-nativesdk_remove_mingw32 += "nativesdk-glibc-locale nativesdk-libarchive" | 64 | # there is a configure option to disable its usage. |
65 | DEPENDS_class-nativesdk = "qtbase nativesdk-qtdeclarative nativesdk-glibc-locale nativesdk-libarchive" | ||
66 | DEPENDS_class-nativesdk_remove_mingw32 = "nativesdk-glibc-locale nativesdk-libarchive" | ||
65 | 67 | ||
66 | EXTRA_QMAKEVARS_PRE_class-nativesdk += "\ | 68 | EXTRA_QMAKEVARS_PRE_class-nativesdk = "\ |
67 | -config tools-only \ | 69 | -config tools-only \ |
68 | " | 70 | " |
diff --git a/recipes-qt/automotive/qtivi_git.bb b/recipes-qt/automotive/qtivi_git.bb index aad9909..5cbf131 100644 --- a/recipes-qt/automotive/qtivi_git.bb +++ b/recipes-qt/automotive/qtivi_git.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -50,8 +50,8 @@ SRC_URI += " \ | |||
50 | file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \ | 50 | file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \ |
51 | " | 51 | " |
52 | 52 | ||
53 | SRCREV_qtivi = "aeb240744ce9fc7937f5879271aca2f84a682e6a" | 53 | SRCREV_qtivi = "8d482b27c6c0c2b664104fd777ddee92652ab65c" |
54 | SRCREV_qface = "295824c8df7f74af8f3d1f368ec15942e6622f22" | 54 | SRCREV_qface = "9da793d6cbc63d617ad5e2ffd13e9f6d055c88e8" |
55 | SRCREV = "${SRCREV_qtivi}" | 55 | SRCREV = "${SRCREV_qtivi}" |
56 | SRCREV_FORMAT = "qtivi_qface" | 56 | SRCREV_FORMAT = "qtivi_qface" |
57 | 57 | ||
@@ -63,9 +63,14 @@ PACKAGECONFIG[geniviextras-only] = "QMAKE_EXTRA_ARGS+=--geniviextras-only" | |||
63 | PACKAGECONFIG[ivigenerator] = "QMAKE_EXTRA_ARGS+=-system-ivigenerator" | 63 | PACKAGECONFIG[ivigenerator] = "QMAKE_EXTRA_ARGS+=-system-ivigenerator" |
64 | PACKAGECONFIG[ivigenerator-native] = "QMAKE_EXTRA_ARGS+=-qt-ivigenerator,,python3 python3-virtualenv" | 64 | PACKAGECONFIG[ivigenerator-native] = "QMAKE_EXTRA_ARGS+=-qt-ivigenerator,,python3 python3-virtualenv" |
65 | PACKAGECONFIG[host-tools-only] = "QMAKE_EXTRA_ARGS+=-host-tools-only" | 65 | PACKAGECONFIG[host-tools-only] = "QMAKE_EXTRA_ARGS+=-host-tools-only" |
66 | PACKAGECONFIG[simulator] = "QMAKE_EXTRA_ARGS+=-feature-simulator,QMAKE_EXTRA_ARGS+=-no-feature-simulator,qtsimulator" | ||
67 | PACKAGECONFIG[simulator-native] = "QMAKE_EXTRA_ARGS+=-feature-simulator QMAKE_EXTRA_ARGS+=--force-ivigenerator-qtsimulator" | ||
66 | 68 | ||
67 | PACKAGECONFIG_class-native ??= "host-tools-only ivigenerator-native" | 69 | PACKAGECONFIG_class-native ??= "host-tools-only ivigenerator-native" |
68 | PACKAGECONFIG_class-nativesdk ??= "${PACKAGECONFIG_class-native}" | 70 | PACKAGECONFIG_class-nativesdk ??= "${PACKAGECONFIG_class-native}" |
71 | PACKAGECONFIG_class-nativesdk_mingw32 ??= "host-tools-only" | ||
72 | |||
73 | ALLOW_EMPTY_${PN}-tools = "1" | ||
69 | 74 | ||
70 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS} ${@bb.utils.contains_any('PACKAGECONFIG', 'ivigenerator ivigenerator-native', '', 'QMAKE_EXTRA_ARGS+=-no-ivigenerator', d)}" | 75 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS} ${@bb.utils.contains_any('PACKAGECONFIG', 'ivigenerator ivigenerator-native', '', 'QMAKE_EXTRA_ARGS+=-no-ivigenerator', d)}" |
71 | 76 | ||
@@ -84,7 +89,22 @@ do_install_prepend() { | |||
84 | set_python_paths | 89 | set_python_paths |
85 | } | 90 | } |
86 | 91 | ||
92 | # This needs a modified python3 recipe which copies the binary into a path where this recipe can pick it up | ||
93 | # This is needed to provide a proper executable using the correct interpreter in the SDK. | ||
94 | # See https://bugreports.qt.io/browse/AUTOSUITE-176 | ||
95 | do_install_append_class-nativesdk() { | ||
96 | export IVIGENERATOR_ENABLED="${@bb.utils.contains("PACKAGECONFIG", "ivigenerator-native", "1", "0", d)}" | ||
97 | |||
98 | if [ "${IVIGENERATOR_ENABLED}" = "1" ]; then | ||
99 | cp ${STAGING_BINDIR}/qt5/python3* ${D}/${OE_QMAKE_PATH_BINS}/ivigenerator/qtivi_qface_virtualenv/bin/ | ||
100 | rm -f ${D}/${OE_QMAKE_PATH_BINS}/ivigenerator/qtivi_qface_virtualenv/bin/python | ||
101 | ln -sf python3 ${D}/${OE_QMAKE_PATH_BINS}/ivigenerator/qtivi_qface_virtualenv/bin/python | ||
102 | fi | ||
103 | } | ||
104 | |||
87 | 105 | ||
88 | BBCLASSEXTEND += "native nativesdk" | 106 | BBCLASSEXTEND += "native nativesdk" |
89 | 107 | ||
90 | INSANE_SKIP_${PN}_class-native = "already-stripped" | 108 | INSANE_SKIP_${PN}_class-native = "already-stripped" |
109 | INSANE_SKIP_${PN}_class-nativesdk = "already-stripped" | ||
110 | INSANE_SKIP_${PN}-tools_class-nativesdk = "staticdev" | ||
diff --git a/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb b/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb index 0acd0a7..7ce53c6 100644 --- a/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb +++ b/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb | |||
@@ -36,4 +36,5 @@ inherit nativesdk packagegroup | |||
36 | RDEPENDS_${PN} += "\ | 36 | RDEPENDS_${PN} += "\ |
37 | nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host \ | 37 | nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host \ |
38 | nativesdk-qtapplicationmanager-tools \ | 38 | nativesdk-qtapplicationmanager-tools \ |
39 | nativesdk-qtivi-tools \ | ||
39 | " | 40 | " |
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-automotive-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-b2qt-automotive-qt5-toolchain-target.bb index ba99059..6ae1ef4 100644 --- a/recipes-qt/packagegroups/packagegroup-b2qt-automotive-qt5-toolchain-target.bb +++ b/recipes-qt/packagegroups/packagegroup-b2qt-automotive-qt5-toolchain-target.bb | |||
@@ -39,4 +39,5 @@ RDEPENDS_${PN} += " \ | |||
39 | qtivi-dev \ | 39 | qtivi-dev \ |
40 | libarchive-dev \ | 40 | libarchive-dev \ |
41 | qtapplicationmanager-dev \ | 41 | qtapplicationmanager-dev \ |
42 | qtapplicationmanager-staticdev \ | ||
42 | " | 43 | " |
diff --git a/recipes-qt/qt5/qtbase/smarc-samx6i/oe-device-extra.pri b/recipes-qt/qt5/qtbase/smarc-samx6i/oe-device-extra.pri new file mode 100644 index 0000000..ae04468 --- /dev/null +++ b/recipes-qt/qt5/qtbase/smarc-samx6i/oe-device-extra.pri | |||
@@ -0,0 +1,3 @@ | |||
1 | QMAKE_PLATFORM += boot2qt | ||
2 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
3 | EGLFS_DEVICE_INTEGRATION = eglfs_kms | ||
diff --git a/recipes-qt/qt5/qtdeviceutilities.bb b/recipes-qt/qt5/qtdeviceutilities.bb index 2f1022a..7405424 100644 --- a/recipes-qt/qt5/qtdeviceutilities.bb +++ b/recipes-qt/qt5/qtdeviceutilities.bb | |||
@@ -39,10 +39,6 @@ PACKAGECONFIG[wpasupplicant] = "CONFIG+=wpasupplicant,,wpa-supplicant" | |||
39 | 39 | ||
40 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | 40 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" |
41 | 41 | ||
42 | SRC_URI = " \ | ||
43 | git://codereview.qt-project.org/qt/qtdeviceutilities;${QT_MODULE_BRANCH_PARAM};protocol=http \ | ||
44 | " | ||
45 | |||
46 | SRCREV = "796fff1debaa161483515779bb68999948d48c59" | 42 | SRCREV = "796fff1debaa161483515779bb68999948d48c59" |
47 | 43 | ||
48 | DEPENDS = "qtbase qtdeclarative qtconnectivity" | 44 | DEPENDS = "qtbase qtdeclarative qtconnectivity" |
diff --git a/recipes-qt/qt5/qtotaupdate.bb b/recipes-qt/qt5/qtotaupdate.bb index 502c48c..495598a 100644 --- a/recipes-qt/qt5/qtotaupdate.bb +++ b/recipes-qt/qt5/qtotaupdate.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
diff --git a/recipes-qt/qt5/qtsystems_git.bbappend b/recipes-qt/qt5/qtsystems_git.bbappend index 83bead3..e8fe1f3 100644 --- a/recipes-qt/qt5/qtsystems_git.bbappend +++ b/recipes-qt/qt5/qtsystems_git.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2017 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
diff --git a/recipes/python/python3_%.bbappend b/recipes/python/python3_%.bbappend index 9015f3f..b3a5eb7 100644 --- a/recipes/python/python3_%.bbappend +++ b/recipes/python/python3_%.bbappend | |||
@@ -1 +1,11 @@ | |||
1 | SRC_URI_remove = "file://python-3.3-multilib.patch" | 1 | SRC_URI_remove = "file://python-3.3-multilib.patch" |
2 | |||
3 | # We need to install the python3 binary into the sysroot to let qtivi install that binary | ||
4 | # into the correct location. | ||
5 | # We can't install it directly into ${bindir} as this would be picked up by other recipes | ||
6 | # and produce a lot of errors. Instead put it inside a qt5 folder where only qtivi picks it up | ||
7 | # This is a workaround and needs to be replaced by a proper solution discussed here: | ||
8 | # https://bugreports.qt.io/browse/AUTOSUITE-176 | ||
9 | sysroot_stage_all_append_class-nativesdk () { | ||
10 | sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir}/qt5 | ||
11 | } | ||
diff --git a/scripts/manifest.xml b/scripts/manifest.xml index 7f92b19..5e68eb7 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml | |||
@@ -105,7 +105,7 @@ | |||
105 | groups="notdefault,internal"/> | 105 | groups="notdefault,internal"/> |
106 | <project name="meta-smx6" | 106 | <project name="meta-smx6" |
107 | remote="playground" | 107 | remote="playground" |
108 | revision="c2f639ef4b2fd5809ab95fb330d28c2716aa290d" | 108 | revision="ba2b99a9a5895033f081ffce25b0fd45e847c4c2" |
109 | path="sources/meta-smx6" | 109 | path="sources/meta-smx6" |
110 | groups="notdefault,internal"/> | 110 | groups="notdefault,internal"/> |
111 | </manifest> | 111 | </manifest> |