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:
5
sources/meta-qt6/coin/dependencies.yaml
Normal file
5
sources/meta-qt6/coin/dependencies.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
product_dependency:
|
||||
../../qt/qt5:
|
||||
ref: "dev"
|
||||
dependencies:
|
||||
{}
|
||||
172
sources/meta-qt6/coin/module_config.yaml
Normal file
172
sources/meta-qt6/coin/module_config.yaml
Normal file
@@ -0,0 +1,172 @@
|
||||
version: 2
|
||||
accept_configuration:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: property
|
||||
property: host.compiler
|
||||
equals_value: Yocto
|
||||
- condition: property
|
||||
property: target.arch
|
||||
in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5]
|
||||
|
||||
machine_type:
|
||||
Build:
|
||||
cores: 16
|
||||
|
||||
# Target build matrix:
|
||||
#
|
||||
# [target1] [target2] [target3] [target4] [target5]
|
||||
# [machine] qemuarm64 qemux86-64 qemuarm qemux86 qemuarm64
|
||||
# [yocto] master master scarthgap styhead kirkstone
|
||||
# [wayland] yes no no yes yes
|
||||
# [mingw] no no yes no no
|
||||
# [static] no no no no yes
|
||||
#
|
||||
|
||||
target1: &target1
|
||||
type: Group
|
||||
instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: MACHINE
|
||||
variableValue: qemuarm64
|
||||
- type: EnvironmentVariable
|
||||
variableName: MANIFEST
|
||||
variableValue: master.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs wayland python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
equals_value: TARGET1
|
||||
target2: &target2
|
||||
type: Group
|
||||
instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: MACHINE
|
||||
variableValue: qemux86-64
|
||||
- type: EnvironmentVariable
|
||||
variableName: MANIFEST
|
||||
variableValue: master.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
equals_value: TARGET2
|
||||
target3: &target3
|
||||
type: Group
|
||||
instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: MACHINE
|
||||
variableValue: qemuarm
|
||||
- type: EnvironmentVariable
|
||||
variableName: MANIFEST
|
||||
variableValue: scarthgap.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs mingw python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
equals_value: TARGET3
|
||||
target4: &target4
|
||||
type: Group
|
||||
instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: MACHINE
|
||||
variableValue: qemux86
|
||||
- type: EnvironmentVariable
|
||||
variableName: MANIFEST
|
||||
variableValue: styhead.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs wayland no-webengine python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
equals_value: TARGET4
|
||||
target5: &target5
|
||||
type: Group
|
||||
instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: MACHINE
|
||||
variableValue: qemuarm64
|
||||
- type: EnvironmentVariable
|
||||
variableName: MANIFEST
|
||||
variableValue: kirkstone.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs wayland static no-webengine python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
equals_value: TARGET5
|
||||
|
||||
instructions:
|
||||
Build:
|
||||
- *target1
|
||||
- *target2
|
||||
- *target3
|
||||
- *target4
|
||||
- *target5
|
||||
- type: EnvironmentVariable
|
||||
variableName: DL_DIR
|
||||
variableValue: "/mnt/yocto-cache/downloads"
|
||||
- type: EnvironmentVariable
|
||||
variableName: SOURCE_DIR
|
||||
variableValue: "{{.SourceDir}}"
|
||||
- type: SetBuildDirectory
|
||||
directory: "{{.AgentWorkingDir}}/build"
|
||||
- type: MakeDirectory
|
||||
directory: "{{.BuildDir}}"
|
||||
- type: ChangeDirectory
|
||||
directory: "{{.BuildDir}}"
|
||||
- type: WriteFile
|
||||
fileContents: |
|
||||
#!/bin/bash -xe
|
||||
|
||||
# make hostname unique for NFS
|
||||
sudo hostname $(hostname -s)-$(date +%s%N)
|
||||
|
||||
sudo mkdir -p /mnt/yocto-cache
|
||||
sudo mount yocto-cache.ci.qt.io:/srv/yocto-cache /mnt/yocto-cache
|
||||
|
||||
curl https://storage.googleapis.com/git-repo-downloads/repo > repo
|
||||
chmod +x repo
|
||||
|
||||
./repo init \
|
||||
--repo-url git@git.qt.io:boot2qt/git-repo.git \
|
||||
-u git://code.qt.io/yocto/boot2qt-manifest \
|
||||
-b ci \
|
||||
-m ${MANIFEST} \
|
||||
--reference /mnt/yocto-cache/mirror
|
||||
./repo sync
|
||||
|
||||
source ./poky/oe-init-build-env
|
||||
bitbake-layers add-layer ../meta-openembedded/meta-oe
|
||||
bitbake-layers add-layer ../meta-openembedded/meta-python
|
||||
bitbake-layers add-layer ../meta-openembedded/meta-multimedia
|
||||
bitbake-layers add-layer ../meta-mingw
|
||||
bitbake-layers add-layer ../meta-clang
|
||||
bitbake-layers add-layer ${SOURCE_DIR}
|
||||
|
||||
for conf in ${TEST_CONFIGS}; do
|
||||
echo "require ${SOURCE_DIR}/coin/test-${conf}.inc" >> conf/local.conf
|
||||
done
|
||||
|
||||
# build toolchain which should include all supported recipes
|
||||
bitbake meta-toolchain-qt6 nativesdk-packagegroup-qt6-toolchain-host packagegroup-qt6-modules
|
||||
filename: "{{.BuildDir}}/start-build"
|
||||
fileMode: 420
|
||||
- type: ExecuteCommand
|
||||
command: ["bash", "-xe", "{{.BuildDir}}/start-build"]
|
||||
maxTimeInSeconds: 43200
|
||||
maxTimeBetweenOutput: 7200
|
||||
userMessageOnFailure: "Build failed."
|
||||
- type: ExecuteCommand
|
||||
command: ["sudo", "umount", "/mnt/yocto-cache"]
|
||||
userMessageOnFailure: "Unmounting cache failed."
|
||||
|
||||
Test: []
|
||||
5
sources/meta-qt6/coin/test-ci.inc
Normal file
5
sources/meta-qt6/coin/test-ci.inc
Normal file
@@ -0,0 +1,5 @@
|
||||
SSTATE_DIR = "/mnt/yocto-cache/sstate-caches/${DISTRO}-${DISTRO_CODENAME}"
|
||||
BB_HASHSERVE = "yocto-cache.ci.qt.io:8686"
|
||||
DL_DIR = "/mnt/yocto-cache/downloads"
|
||||
BB_GENERATE_MIRROR_TARBALLS = "1"
|
||||
BB_NUMBER_THREADS = "8"
|
||||
107
sources/meta-qt6/coin/test-configs.inc
Normal file
107
sources/meta-qt6/coin/test-configs.inc
Normal file
@@ -0,0 +1,107 @@
|
||||
# use systemd
|
||||
INIT_MANAGER:forcevariable = "systemd"
|
||||
|
||||
INHERIT += "buildstats buildstats-summary"
|
||||
INHERIT += "rm_work"
|
||||
|
||||
# default to commercial Qt
|
||||
QT_EDITION = "commercial"
|
||||
|
||||
LICENSE_FLAGS_ACCEPTED = "commercial_ffmpeg"
|
||||
|
||||
# include commercial addons and enable Qt QML Compiler
|
||||
QT_COMMERCIAL_MODULES = "1"
|
||||
|
||||
# fast compression of SDK tar package
|
||||
SDK_XZ_COMPRESSION_LEVEL = "-1"
|
||||
|
||||
# be more strict with QA warnings, turn them all to errors:
|
||||
EXTRA_QA = "\
|
||||
ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi \
|
||||
textrel already-stripped incompatible-license files-invalid \
|
||||
installed-vs-shipped compile-host-path install-host-path \
|
||||
pn-overrides infodir build-deps \
|
||||
unknown-configure-option symlink-to-sysroot multilib \
|
||||
invalid-packageconfig host-user-contaminated uppercase-pn \
|
||||
"
|
||||
ERROR_QA:append = "${EXTRA_QA}"
|
||||
WARN_QA:remove = "${EXTRA_QA}"
|
||||
|
||||
# workaround for qemu
|
||||
# nativesdk-qemu-user-mips rdepends on nativesdk-bash, but it isn't a build dependency
|
||||
INSANE_SKIP:nativesdk-qemu-user-mips = "build-deps"
|
||||
|
||||
# workaround for clang
|
||||
# nativesdk-liblldb contains reference to TMPDIR [buildpaths]
|
||||
INSANE_SKIP:append:pn-nativesdk-clang = " buildpaths"
|
||||
|
||||
# enable thumb for broader test coverage (oe-core autobuilder doesn't have thumb enabled)
|
||||
PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
|
||||
ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
|
||||
|
||||
# build squish
|
||||
USE_SQUISH = "1"
|
||||
SQUISH_MIRROR = "https://ci-files01-hki.ci.qt.io/input/squish/releasepackages"
|
||||
SQUISH_LICENSE_KEY = "qt-srv-19.intra.qt.io:49345"
|
||||
|
||||
# enable webengine with commercial/proprietary features
|
||||
DISTRO_FEATURES:append = " webengine"
|
||||
PACKAGECONFIG:append:pn-qtwebengine = " proprietary-codecs"
|
||||
|
||||
PACKAGECONFIG:append:pn-qtbase = "\
|
||||
tslib kms gbm zstd libproxy gssapi vulkan mtdev cups \
|
||||
sql-mysql sql-odbc sql-psql sql-sqlite journald brotli \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
|
||||
"
|
||||
|
||||
# imageformats mng FIXME
|
||||
PACKAGECONFIG:append:pn-qtimageformats = " jasper"
|
||||
|
||||
# enable examples for all Qt modules
|
||||
PACKAGECONFIG:append:pn-qmlcompilerplus = " examples"
|
||||
PACKAGECONFIG:append:pn-qt3d = " examples"
|
||||
PACKAGECONFIG:append:pn-qt5compat = " examples"
|
||||
PACKAGECONFIG:append:pn-qtapplicationmanager = " examples"
|
||||
PACKAGECONFIG:append:pn-qtbase = " examples"
|
||||
PACKAGECONFIG:append:pn-qtcharts = " examples"
|
||||
PACKAGECONFIG:append:pn-qtcoap = " examples"
|
||||
PACKAGECONFIG:append:pn-qtconnectivity = " examples"
|
||||
PACKAGECONFIG:append:pn-qtdatavis3d = " examples"
|
||||
PACKAGECONFIG:append:pn-qtdeclarative = " examples"
|
||||
PACKAGECONFIG:append:pn-qtdeviceutilities = " examples"
|
||||
PACKAGECONFIG:append:pn-qtgraphs = " examples"
|
||||
PACKAGECONFIG:append:pn-qtgrpc = " examples"
|
||||
PACKAGECONFIG:append:pn-qthttpserver = " examples"
|
||||
PACKAGECONFIG:append:pn-qtimageformats = " examples"
|
||||
PACKAGECONFIG:append:pn-qtinsighttracker = " examples"
|
||||
PACKAGECONFIG:append:pn-qtinterfaceframework = " examples"
|
||||
PACKAGECONFIG:append:pn-qtlanguageserver = " examples"
|
||||
PACKAGECONFIG:append:pn-qtlocation = " examples"
|
||||
PACKAGECONFIG:append:pn-qtlottie = " examples"
|
||||
PACKAGECONFIG:append:pn-qtmqtt = " examples"
|
||||
PACKAGECONFIG:append:pn-qtmultimedia = " examples"
|
||||
PACKAGECONFIG:append:pn-qtnetworkauth = " examples"
|
||||
PACKAGECONFIG:append:pn-qtopcua = " examples"
|
||||
PACKAGECONFIG:append:pn-qtpdf = " examples"
|
||||
PACKAGECONFIG:append:pn-qtpositioning = " examples"
|
||||
PACKAGECONFIG:append:pn-qtquick3d = " examples"
|
||||
PACKAGECONFIG:append:pn-qtquick3dphysics = " examples"
|
||||
PACKAGECONFIG:append:pn-qtquickdesigner-components = " examples"
|
||||
PACKAGECONFIG:append:pn-qtquicktimeline = " examples"
|
||||
PACKAGECONFIG:append:pn-qtremoteobjects = " examples"
|
||||
PACKAGECONFIG:append:pn-qtscxml = " examples"
|
||||
PACKAGECONFIG:append:pn-qtsensors = " examples"
|
||||
PACKAGECONFIG:append:pn-qtserialbus = " examples"
|
||||
PACKAGECONFIG:append:pn-qtserialport = " examples"
|
||||
PACKAGECONFIG:append:pn-qtshadertools = " examples"
|
||||
PACKAGECONFIG:append:pn-qtspeech = " examples"
|
||||
PACKAGECONFIG:append:pn-qtsvg = " examples"
|
||||
PACKAGECONFIG:append:pn-qttools = " examples"
|
||||
PACKAGECONFIG:append:pn-qttranslations = " examples"
|
||||
PACKAGECONFIG:append:pn-qtvirtualkeyboard = " examples"
|
||||
PACKAGECONFIG:append:pn-qtvncserver = " examples"
|
||||
PACKAGECONFIG:append:pn-qtwayland = " examples"
|
||||
PACKAGECONFIG:append:pn-qtwebchannel = " examples"
|
||||
PACKAGECONFIG:append:pn-qtwebengine = " examples"
|
||||
PACKAGECONFIG:append:pn-qtwebsockets = " examples"
|
||||
PACKAGECONFIG:append:pn-qtwebview = " examples"
|
||||
1
sources/meta-qt6/coin/test-mingw.inc
Normal file
1
sources/meta-qt6/coin/test-mingw.inc
Normal file
@@ -0,0 +1 @@
|
||||
SDKMACHINE = "x86_64-mingw32"
|
||||
1
sources/meta-qt6/coin/test-no-webengine.inc
Normal file
1
sources/meta-qt6/coin/test-no-webengine.inc
Normal file
@@ -0,0 +1 @@
|
||||
DISTRO_FEATURES:remove = "webengine"
|
||||
51
sources/meta-qt6/coin/test-ptest.inc
Normal file
51
sources/meta-qt6/coin/test-ptest.inc
Normal file
@@ -0,0 +1,51 @@
|
||||
IMAGE_CLASSES += "testimage"
|
||||
QB_MEM = "-m 8192"
|
||||
TEST_SUITES = "ssh ping parselogs ptest"
|
||||
IMAGE_FEATURES += "ssh-server-dropbear"
|
||||
IMAGE_INSTALL:append = "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d-ptest', '', d)} \
|
||||
qt5compat-ptest \
|
||||
qtbase-ptest \
|
||||
qtcharts-ptest \
|
||||
qtcoap-ptest \
|
||||
qtconnectivity-ptest \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d-ptest', '', d)} \
|
||||
qtdeclarative-ptest \
|
||||
qtdeviceutilities-ptest \
|
||||
qtgraphs-ptest \
|
||||
qtgrpc-ptest \
|
||||
qthttpserver-ptest \
|
||||
qtimageformats-ptest \
|
||||
qtinterfaceframework-ptest \
|
||||
qtlocation-ptest \
|
||||
qtlottie-ptest \
|
||||
qtmqtt-ptest \
|
||||
qtmultimedia-ptest \
|
||||
qtnetworkauth-ptest \
|
||||
qtopcua-ptest \
|
||||
qtpositioning-ptest \
|
||||
qtquick3d-ptest \
|
||||
qtquickdesigner-components-ptest \
|
||||
qtquicktimeline-ptest \
|
||||
qtremoteobjects-ptest \
|
||||
qtscxml-ptest \
|
||||
qtsensors-ptest \
|
||||
qtserialbus-ptest \
|
||||
qtserialport-ptest \
|
||||
qtshadertools-ptest \
|
||||
qtspeech-ptest \
|
||||
qtsvg-ptest \
|
||||
qttools-ptest \
|
||||
qtvirtualkeyboard-ptest \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-ptest', '', d)} \
|
||||
qtwebchannel-ptest \
|
||||
qtwebsockets-ptest \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf-ptest', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine-ptest', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebview-ptest', '', d)} \
|
||||
${@bb.utils.contains('QT_COMMERCIAL_MODULES', '1', '\
|
||||
qmlcompilerplus-ptest \
|
||||
qtinsighttracker-ptest \
|
||||
qtvncserver-ptest \
|
||||
', '', d)} \
|
||||
"
|
||||
2
sources/meta-qt6/coin/test-python.inc
Normal file
2
sources/meta-qt6/coin/test-python.inc
Normal file
@@ -0,0 +1,2 @@
|
||||
RDEPENDS:${PN}:append:pn-packagegroup-qt6-addons = " python3-pyside6"
|
||||
|
||||
3
sources/meta-qt6/coin/test-static.inc
Normal file
3
sources/meta-qt6/coin/test-static.inc
Normal file
@@ -0,0 +1,3 @@
|
||||
PACKAGECONFIG:append:pn-qtbase = " static"
|
||||
QT_PTEST_ENABLED = "0"
|
||||
PACKAGECONFIG:remove:pn-qtapplicationmanager = "multi-process"
|
||||
2
sources/meta-qt6/coin/test-wayland.inc
Normal file
2
sources/meta-qt6/coin/test-wayland.inc
Normal file
@@ -0,0 +1,2 @@
|
||||
DISTRO_FEATURES:remove = "x11"
|
||||
DISTRO_FEATURES:append = " wayland"
|
||||
Reference in New Issue
Block a user