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,126 @@
|
||||
From a08e167d51c33f91009ba27adaa083c783c1ac54 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Mon, 15 Apr 2013 04:29:32 +0200
|
||||
Subject: [PATCH] Add linux-oe-g++ platform
|
||||
|
||||
* This qmake.conf unlike other platforms reads most variables from
|
||||
shell environment, because it's easier for qt recipes to export
|
||||
*FLAGS or CC specific for given recipe
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
too OE specific, probably cannot be upstreamed
|
||||
|
||||
Change-Id: I0591ed5da0d61d7cf1509d420e6b293582f1863c
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
|
||||
---
|
||||
mkspecs/features/qt.prf | 6 ++---
|
||||
mkspecs/features/qt_functions.prf | 4 +--
|
||||
mkspecs/linux-oe-g++/qmake.conf | 38 ++++++++++++++++++++++++++++
|
||||
mkspecs/linux-oe-g++/qplatformdefs.h | 1 +
|
||||
mkspecs/oe-device-extra.pri | 0
|
||||
5 files changed, 44 insertions(+), 5 deletions(-)
|
||||
create mode 100644 mkspecs/linux-oe-g++/qmake.conf
|
||||
create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
|
||||
create mode 100644 mkspecs/oe-device-extra.pri
|
||||
|
||||
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
|
||||
index 3c4b284b68..a7545ace5c 100644
|
||||
--- a/mkspecs/features/qt.prf
|
||||
+++ b/mkspecs/features/qt.prf
|
||||
@@ -164,7 +164,7 @@ import_plugins {
|
||||
plug_name = $$QMAKE_PREFIX_STATICLIB$${plug}$$qtPlatformTargetSuffix($$config_variable).$$QMAKE_EXTENSION_STATICLIB
|
||||
plug_path = $$eval(QT_PLUGIN.$${plug}.PATH)
|
||||
isEmpty(plug_path): \
|
||||
- plug_path = $$[QT_INSTALL_PLUGINS/get]
|
||||
+ plug_path = $$[QT_INSTALL_PLUGINS]
|
||||
LIBS += $$plug_path/$$plug_type/$$plug_name
|
||||
} else {
|
||||
LIBS += -l$${plug}$$qtPlatformTargetSuffix(CONFIG)
|
||||
@@ -319,8 +319,8 @@ for(ever) {
|
||||
# static builds: link qml import plugins into the target.
|
||||
contains(all_qt_module_deps, qml): \
|
||||
qtConfig(static):import_plugins:!host_build:!no_import_scan {
|
||||
- exists($$[QT_INSTALL_QML/get]): \
|
||||
- QMLPATHS *= $$[QT_INSTALL_QML/get]
|
||||
+ exists($$[QT_INSTALL_QML]): \
|
||||
+ QMLPATHS *= $$[QT_INSTALL_QML]
|
||||
|
||||
# run qmlimportscanner
|
||||
qtPrepareLibExecTool(QMLIMPORTSCANNER, qmlimportscanner, , system)
|
||||
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
|
||||
index f1371c8cc6..84cbf4a476 100644
|
||||
--- a/mkspecs/features/qt_functions.prf
|
||||
+++ b/mkspecs/features/qt_functions.prf
|
||||
@@ -95,7 +95,7 @@ defineTest(qtPrepareTool) {
|
||||
cmd = $$eval(QT_TOOL.$${2}.binary)
|
||||
isEmpty(cmd) {
|
||||
isEmpty(5) {
|
||||
- instloc = $$[QT_HOST_BINS]
|
||||
+ instloc = $$[QT_HOST_BINS/get]
|
||||
} else {
|
||||
instloc = $$5
|
||||
}
|
||||
@@ -140,7 +140,7 @@ defineTest(qtPrepareTool) {
|
||||
# Forwards its arguments to qtPrepareTool but defaults the installation location to
|
||||
# $$[QT_HOST_LIBEXECS]
|
||||
defineTest(qtPrepareLibExecTool) {
|
||||
- isEmpty(instloc): instloc = "$$[QT_HOST_LIBEXECS]"
|
||||
+ isEmpty(instloc): instloc = "$$[QT_HOST_LIBEXECS/get]"
|
||||
qtPrepareTool($$1, $$2, $$3, $$4, $$instloc)
|
||||
}
|
||||
|
||||
diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf
|
||||
new file mode 100644
|
||||
index 0000000000..99ff3741d3
|
||||
--- /dev/null
|
||||
+++ b/mkspecs/linux-oe-g++/qmake.conf
|
||||
@@ -0,0 +1,38 @@
|
||||
+#
|
||||
+# qmake configuration for linux-g++ with modifications for building with OpenEmbedded
|
||||
+#
|
||||
+
|
||||
+MAKEFILE_GENERATOR = UNIX
|
||||
+CONFIG += incremental
|
||||
+QMAKE_INCREMENTAL_STYLE = sublib
|
||||
+
|
||||
+include(../common/linux.conf)
|
||||
+
|
||||
+QMAKE_AR = $$(OE_QMAKE_AR) cqs
|
||||
+QMAKE_STRIP = $$(OE_QMAKE_STRIP)
|
||||
+QMAKE_OBJCOPY = $$(OE_QMAKE_OBJCOPY)
|
||||
+
|
||||
+include(../common/gcc-base-unix.conf)
|
||||
+
|
||||
+# *FLAGS from gcc-base.conf
|
||||
+QMAKE_CFLAGS += $$(OE_QMAKE_CFLAGS)
|
||||
+QMAKE_CXXFLAGS += $$(OE_QMAKE_CXXFLAGS)
|
||||
+QMAKE_LFLAGS += $$(OE_QMAKE_LDFLAGS)
|
||||
+
|
||||
+include(../common/g++-unix.conf)
|
||||
+
|
||||
+# tc settings from g++-base.conf
|
||||
+QMAKE_CC = $$(OE_QMAKE_CC)
|
||||
+QMAKE_CXX = $$(OE_QMAKE_CXX)
|
||||
+
|
||||
+QMAKE_LINK = $$(OE_QMAKE_LINK)
|
||||
+QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK)
|
||||
+QMAKE_LINK_C = $$(OE_QMAKE_LINK)
|
||||
+QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK)
|
||||
+
|
||||
+QMAKE_AR_LTCG = $$(OE_QMAKE_AR_LTCG) cqs
|
||||
+
|
||||
+include(../oe-device-extra.pri)
|
||||
+
|
||||
+load(device_config)
|
||||
+load(qt_config)
|
||||
diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h
|
||||
new file mode 100644
|
||||
index 0000000000..5d22fb4101
|
||||
--- /dev/null
|
||||
+++ b/mkspecs/linux-oe-g++/qplatformdefs.h
|
||||
@@ -0,0 +1 @@
|
||||
+#include "../linux-g++/qplatformdefs.h"
|
||||
diff --git a/mkspecs/oe-device-extra.pri b/mkspecs/oe-device-extra.pri
|
||||
new file mode 100644
|
||||
index 0000000000..e69de29bb2
|
||||
@@ -0,0 +1,39 @@
|
||||
From 27896986b3c2930ccbbe062d3e7a0b7bcc08caf1 Mon Sep 17 00:00:00 2001
|
||||
From: Holger Freyther <zecke@selfish.org>
|
||||
Date: Wed, 26 Sep 2012 17:22:30 +0200
|
||||
Subject: [PATCH] qlibraryinfo: allow to set qt.conf from the outside using the
|
||||
environment
|
||||
|
||||
Allow to set a qt.conf from the outside using the environment. This allows
|
||||
to inject new prefixes and other paths into qmake. This is needed when using
|
||||
the same qmake binary to build qt/x11 and qt/embedded
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
again very OE specific to read everything from environment (reusing the same
|
||||
qmake from sstate and replacing all configured paths in it with qt.conf from
|
||||
environment).
|
||||
|
||||
Change-Id: I41595c6ce7514e8f197d0a19a1308c9460037d1b
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
src/corelib/global/qlibraryinfo.cpp | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
|
||||
index 4b116c54b2e..bfa21c997b4 100644
|
||||
--- a/src/corelib/global/qlibraryinfo.cpp
|
||||
+++ b/src/corelib/global/qlibraryinfo.cpp
|
||||
@@ -103,7 +103,12 @@ static std::unique_ptr<QSettings> findConfiguration()
|
||||
if (qtconfManualPath)
|
||||
return std::make_unique<QSettings>(*qtconfManualPath, QSettings::IniFormat);
|
||||
|
||||
- QString qtconfig = QStringLiteral(":/qt/etc/qt.conf");
|
||||
+ QByteArray config = getenv("OE_QMAKE_QTCONF_PATH");
|
||||
+ QString qtconfig = QFile::decodeName(config);
|
||||
+ if (QFile::exists(qtconfig))
|
||||
+ return std::make_unique<QSettings>(qtconfig, QSettings::IniFormat);
|
||||
+
|
||||
+ qtconfig = QStringLiteral(":/qt/etc/qt.conf");
|
||||
if (QResource(qtconfig, QLocale::c()).isValid())
|
||||
return std::make_unique<QSettings>(qtconfig, QSettings::IniFormat);
|
||||
#ifdef Q_OS_DARWIN
|
||||
@@ -0,0 +1,29 @@
|
||||
From a4d3698a56665cc73a18fa860c862e1b04533792 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Thu, 16 Dec 2021 13:10:48 +0200
|
||||
Subject: [PATCH] Fix qt.toolchain.cmake for SDK use
|
||||
|
||||
The calculated paths for QT_TOOLCHAIN_RELOCATABLE paths point to
|
||||
host sysroot which must not be used when cross-compiling other projects.
|
||||
|
||||
Change-Id: I52aa2a10d2a13fd27d6bf8b4af6dc1833c7a286a
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
---
|
||||
cmake/qt.toolchain.cmake.in | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cmake/qt.toolchain.cmake.in b/cmake/qt.toolchain.cmake.in
|
||||
index 15cf7a432e..03de9288df 100644
|
||||
--- a/cmake/qt.toolchain.cmake.in
|
||||
+++ b/cmake/qt.toolchain.cmake.in
|
||||
@@ -67,8 +67,8 @@ get_filename_component(QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR "${CMAKE_CURRENT_LIST_
|
||||
# Instead of collapsing the search prefix (which is the case when one is a subdir of the other),
|
||||
# it concatenates them creating an invalid path. Workaround it by setting the root path to the
|
||||
# Qt install prefix, and the prefix path to the lib/cmake subdir.
|
||||
-list(PREPEND CMAKE_PREFIX_PATH "${QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR}")
|
||||
-list(PREPEND CMAKE_FIND_ROOT_PATH "${QT_TOOLCHAIN_RELOCATABLE_INSTALL_PREFIX}")
|
||||
+#list(PREPEND CMAKE_PREFIX_PATH "${QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR}")
|
||||
+#list(PREPEND CMAKE_FIND_ROOT_PATH "${QT_TOOLCHAIN_RELOCATABLE_INSTALL_PREFIX}")
|
||||
|
||||
# Let CMake load our custom platform modules.
|
||||
# CMake-provided platform modules take precedence.
|
||||
@@ -0,0 +1,29 @@
|
||||
From 07f7e1ae76b24ba64cd87726c438638a8fa3eba0 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Mon, 22 Aug 2022 15:01:28 +0300
|
||||
Subject: [PATCH] testlib: don't track the build or source directories
|
||||
|
||||
Build tests without location of the build and sources directories.
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
Change-Id: I8d5add473623a3d9f481097649819c9fb906e4b2
|
||||
|
||||
---
|
||||
src/testlib/CMakeLists.txt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/testlib/CMakeLists.txt b/src/testlib/CMakeLists.txt
|
||||
index 6cdb8f3376..3007585e1c 100644
|
||||
--- a/src/testlib/CMakeLists.txt
|
||||
+++ b/src/testlib/CMakeLists.txt
|
||||
@@ -121,8 +121,8 @@ set(qt_tc_build_dir_def
|
||||
"$<IF:${qt_bool_tc_build_dir},${qt_tc_build_dir},$<TARGET_PROPERTY:BINARY_DIR>>"
|
||||
)
|
||||
set_property(TARGET Test APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS
|
||||
- QT_TESTCASE_BUILDDIR="${qt_tc_build_dir_def}"
|
||||
- QT_TESTCASE_SOURCEDIR="$<TARGET_PROPERTY:SOURCE_DIR>"
|
||||
+ QT_TESTCASE_BUILDDIR=""
|
||||
+ QT_TESTCASE_SOURCEDIR=""
|
||||
)
|
||||
|
||||
qt_internal_add_docs(Test
|
||||
Reference in New Issue
Block a user