Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
From efa68fdedbec60380946f69a6a2f985958148e83 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Wed, 18 Aug 2021 15:09:41 +0300
|
||||
Subject: [PATCH] CMake: use generated yocto toolchains
|
||||
|
||||
Bitbake knows how to generate working toolchains, use those instead of
|
||||
ones done by webengine. No need to use separate host pkg-wrapper with
|
||||
these toolchain. No need to do separate host build, we'll use the
|
||||
target binaries where needed.
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
Change-Id: I217c9122144f25bb2d28717e7248c2a51b149127
|
||||
---
|
||||
cmake/Functions.cmake | 12 +++++-------
|
||||
src/CMakeLists.txt | 2 +-
|
||||
2 files changed, 6 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
|
||||
index 3371e5ff5..ac889d3f7 100644
|
||||
--- a/cmake/Functions.cmake
|
||||
+++ b/cmake/Functions.cmake
|
||||
@@ -825,7 +825,7 @@ endfunction()
|
||||
|
||||
macro(create_pkg_config_host_wrapper buildDir)
|
||||
find_package(PkgConfigHost)
|
||||
- if(CMAKE_CROSSCOMPILING)
|
||||
+ if(FALSE)
|
||||
create_pkg_config_wrapper("${buildDir}/pkg-config-host_wrapper.sh" "${PKG_CONFIG_HOST_EXECUTABLE}")
|
||||
set(PKG_CONFIG_HOST_EXECUTABLE "${buildDir}/pkg-config-host_wrapper.sh")
|
||||
endif()
|
||||
@@ -1097,14 +1097,12 @@ macro(append_toolchain_setup)
|
||||
elseif(LINUX)
|
||||
get_gn_arch(cpu ${TEST_architecture_arch})
|
||||
list(APPEND gnArgArg
|
||||
- custom_toolchain="${buildDir}/target_toolchain:target"
|
||||
- host_toolchain="${buildDir}/host_toolchain:host"
|
||||
+ custom_toolchain="//build/toolchain/yocto:yocto_target"
|
||||
+ host_toolchain="//build/toolchain/yocto:yocto_native"
|
||||
+ v8_snapshot_toolchain="//build/toolchain/yocto:yocto_target"
|
||||
)
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
- list(APPEND gnArgArg
|
||||
- v8_snapshot_toolchain="${buildDir}/v8_toolchain:v8"
|
||||
- target_cpu="${cpu}"
|
||||
- )
|
||||
+ list(APPEND gnArgArg target_cpu="${cpu}")
|
||||
else()
|
||||
list(APPEND gnArgArg host_cpu="${cpu}")
|
||||
endif()
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 0084697f2..1c9059ae6 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -161,7 +161,7 @@ endif()
|
||||
# HOST PROJECT
|
||||
##
|
||||
|
||||
-if(CMAKE_CROSSCOMPILING AND NOT IOS AND NOT MACOS)
|
||||
+if(FALSE)
|
||||
|
||||
if(NOT Gn_FOUND)
|
||||
message(FATAL_ERROR "\nHost gn not found - cross compilation not possible")
|
||||
@@ -0,0 +1,26 @@
|
||||
From 221aefe4d8777f45955cb100dfc4c7204c885a19 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Tue, 31 Aug 2021 18:27:48 +0300
|
||||
Subject: [PATCH] Enable examples
|
||||
|
||||
The bug mentioned does not affect bitbake builds.
|
||||
|
||||
Change-Id: I076763d9241061f9cdb4d46bcd88e46bd4f783aa
|
||||
Upstream-Status: Inappropriate [OE Specific]
|
||||
---
|
||||
examples/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
|
||||
index ccad90e11..32cd6d69d 100644
|
||||
--- a/examples/CMakeLists.txt
|
||||
+++ b/examples/CMakeLists.txt
|
||||
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
qt_examples_build_begin(EXTERNAL_BUILD)
|
||||
-if(NOT CMAKE_CROSSCOMPILING) #QTBUG-86533
|
||||
+if(TRUE) #QTBUG-86533
|
||||
if(TARGET Qt::WebEngineCore)
|
||||
add_subdirectory(webenginequick)
|
||||
endif()
|
||||
@@ -0,0 +1,65 @@
|
||||
From 23d02fd87c766b6aef2a5aa81186b3db3f13b82a Mon Sep 17 00:00:00 2001
|
||||
From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
|
||||
Date: Tue, 7 Nov 2017 15:24:32 +0100
|
||||
Subject: [PATCH] v8: qemu wrapper
|
||||
|
||||
The patch below makes the V8 binaries run during the build be invoked through
|
||||
QEMU, as they are built for the target.
|
||||
|
||||
Upstream-Status: Inappropriate [embedder specific]
|
||||
|
||||
Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
|
||||
Signed-off-by: Maksim Sisov <msisov@igalia.com>
|
||||
---
|
||||
chromium/tools/v8_context_snapshot/BUILD.gn | 1 +
|
||||
chromium/v8/BUILD.gn | 4 ++++
|
||||
2 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/chromium/tools/v8_context_snapshot/BUILD.gn b/chromium/tools/v8_context_snapshot/BUILD.gn
|
||||
index d868696dbf2..298273818ef 100644
|
||||
--- a/chromium/tools/v8_context_snapshot/BUILD.gn
|
||||
+++ b/chromium/tools/v8_context_snapshot/BUILD.gn
|
||||
@@ -72,6 +72,7 @@ if (use_v8_context_snapshot) {
|
||||
output_path = rebase_path(output_file, root_build_dir)
|
||||
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(get_label_info(":v8_context_snapshot_generator",
|
||||
"root_out_dir") +
|
||||
"/v8_context_snapshot_generator",
|
||||
diff --git a/chromium/v8/BUILD.gn b/chromium/v8/BUILD.gn
|
||||
index 2f99c3d70b0..9b28cf2ed4c 100644
|
||||
--- a/chromium/v8/BUILD.gn
|
||||
+++ b/chromium/v8/BUILD.gn
|
||||
@@ -1870,6 +1870,7 @@ template("run_torque") {
|
||||
}
|
||||
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(
|
||||
get_label_info(":torque($toolchain)", "root_out_dir") + "/torque",
|
||||
root_build_dir),
|
||||
@@ -2002,6 +2003,7 @@ action("generate_bytecode_builtins_list") {
|
||||
outputs = [ "$target_gen_dir/builtins-generated/bytecodes-builtins-list.h" ]
|
||||
deps = [ ":bytecode_builtins_list_generator($v8_generator_toolchain)" ]
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(
|
||||
get_label_info(
|
||||
":bytecode_builtins_list_generator($v8_generator_toolchain)",
|
||||
@@ -2047,6 +2049,7 @@ template("run_mksnapshot") {
|
||||
data = []
|
||||
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
|
||||
"root_out_dir") + "/mksnapshot",
|
||||
root_build_dir),
|
||||
@@ -5849,6 +5852,7 @@ if (v8_enable_i18n_support) {
|
||||
outputs = [ output_file ]
|
||||
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(
|
||||
get_label_info(
|
||||
":gen-regexp-special-case($v8_generator_toolchain)",
|
||||
@@ -0,0 +1,87 @@
|
||||
From 7eb6877c15ab9d73c9a7cf3a8a17a1a23f7396f9 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 29 Apr 2019 12:00:19 +0300
|
||||
Subject: [PATCH] Remove the GN settings done for clang that conflict with OE
|
||||
|
||||
clang cross compiler that is build with meta-clang has lot of these
|
||||
settings built-in and specifying them here confuses the compiler
|
||||
|
||||
--target option and -no-canonical-prefixes options result in clang
|
||||
|
||||
finding the headers in target sysroot
|
||||
|
||||
Upstream-Status: Inappropriate [OE-Specific]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Rebased-by: Maksim Sisov <msisov@igalia.com>
|
||||
Rebased-by: Randy MacLeod <randy.macleod@windriver.com>
|
||||
|
||||
---
|
||||
build/config/compiler/BUILD.gn | 38 ----------------------------------
|
||||
1 file changed, 38 deletions(-)
|
||||
|
||||
--- a/chromium/build/config/compiler/BUILD.gn
|
||||
+++ b/chromium/build/config/compiler/BUILD.gn
|
||||
@@ -1065,11 +1065,6 @@ config("compiler_cpu_abi") {
|
||||
]
|
||||
}
|
||||
} else if (current_cpu == "arm") {
|
||||
- if (is_clang && !is_android && !is_nacl &&
|
||||
- !(is_chromeos_lacros && is_chromeos_device)) {
|
||||
- cflags += [ "--target=arm-linux-gnueabihf" ]
|
||||
- ldflags += [ "--target=arm-linux-gnueabihf" ]
|
||||
- }
|
||||
if (!is_nacl) {
|
||||
cflags += ["-mfloat-abi=$arm_float_abi"]
|
||||
if (arm_arch != "") {
|
||||
@@ -1082,12 +1077,6 @@ config("compiler_cpu_abi") {
|
||||
if (arm_tune != "") {
|
||||
cflags += [ "-mtune=$arm_tune" ]
|
||||
}
|
||||
- } else if (current_cpu == "arm64") {
|
||||
- if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
|
||||
- !(is_chromeos_lacros && is_chromeos_device)) {
|
||||
- cflags += [ "--target=aarch64-linux-gnu" ]
|
||||
- ldflags += [ "--target=aarch64-linux-gnu" ]
|
||||
- }
|
||||
} else if (current_cpu == "mipsel" && !is_nacl) {
|
||||
ldflags += [ "-Wl,--hash-style=sysv" ]
|
||||
if (custom_toolchain == "") {
|
||||
@@ -1095,9 +1084,6 @@ config("compiler_cpu_abi") {
|
||||
if (is_android) {
|
||||
cflags += [ "--target=mipsel-linux-android" ]
|
||||
ldflags += [ "--target=mipsel-linux-android" ]
|
||||
- } else {
|
||||
- cflags += [ "--target=mipsel-linux-gnu" ]
|
||||
- ldflags += [ "--target=mipsel-linux-gnu" ]
|
||||
}
|
||||
} else {
|
||||
cflags += [ "-EL" ]
|
||||
@@ -1177,8 +1163,6 @@ config("compiler_cpu_abi") {
|
||||
ldflags += [ "-Wl,--hash-style=sysv" ]
|
||||
if (custom_toolchain == "") {
|
||||
if (is_clang) {
|
||||
- cflags += [ "--target=mips-linux-gnu" ]
|
||||
- ldflags += [ "--target=mips-linux-gnu" ]
|
||||
} else {
|
||||
cflags += [ "-EB" ]
|
||||
ldflags += [ "-EB" ]
|
||||
@@ -1226,9 +1210,6 @@ config("compiler_cpu_abi") {
|
||||
if (is_android) {
|
||||
cflags += [ "--target=mips64el-linux-android" ]
|
||||
ldflags += [ "--target=mips64el-linux-android" ]
|
||||
- } else {
|
||||
- cflags += [ "--target=mips64el-linux-gnuabi64" ]
|
||||
- ldflags += [ "--target=mips64el-linux-gnuabi64" ]
|
||||
}
|
||||
} else {
|
||||
cflags += [
|
||||
@@ -1286,8 +1267,6 @@ config("compiler_cpu_abi") {
|
||||
ldflags += [ "-Wl,--hash-style=sysv" ]
|
||||
if (custom_toolchain == "") {
|
||||
if (is_clang) {
|
||||
- cflags += [ "--target=mips64-linux-gnuabi64" ]
|
||||
- ldflags += [ "--target=mips64-linux-gnuabi64" ]
|
||||
} else {
|
||||
cflags += [
|
||||
"-EB",
|
||||
@@ -0,0 +1,34 @@
|
||||
From e7f11f7135104d1b05fb26637502ec3d19e4c2cd Mon Sep 17 00:00:00 2001
|
||||
From: Michal Klocek <michal.klocek@qt.io>
|
||||
Date: Wed, 14 Aug 2024 13:40:31 +0200
|
||||
Subject: [PATCH] Do not build webnn with xnnpack for arm64
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Change-Id: Ib23b6da98eddc8319fa79e8c1365b4e67d21086d
|
||||
---
|
||||
.../third_party/blink/renderer/modules/ml/webnn/features.gni | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni b/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
|
||||
index 941740db3e3..50e139dc1af 100644
|
||||
--- a/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
|
||||
+++ b/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
|
||||
@@ -3,12 +3,13 @@
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("//build/config/chrome_build.gni")
|
||||
+import("//build/config/features.gni")
|
||||
declare_args() {
|
||||
# This enables building WebNN with XNNPACK. Currently only available for
|
||||
# Windows, macOS and Linux on x64, x86 and arm64.
|
||||
build_webnn_with_xnnpack = (is_linux || is_win || is_mac) &&
|
||||
(current_cpu == "x64" || current_cpu == "x86" ||
|
||||
- (current_cpu == "arm64" && !is_win))
|
||||
+ (current_cpu == "arm64" && !is_win && !is_qtwebengine))
|
||||
|
||||
# This build flag enables WebNN to access hardware acceleration using TFLite
|
||||
# via the ModelLoader mojo interface.
|
||||
--
|
||||
2.43.2
|
||||
|
||||
Reference in New Issue
Block a user