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:
36
sources/poky/meta-poky/conf/distro/include/gcsections.inc
Normal file
36
sources/poky/meta-poky/conf/distro/include/gcsections.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
CFLAGS_SECTION_REMOVAL = "-ffunction-sections -fdata-sections"
|
||||
LDFLAGS_SECTION_REMOVAL = "-Wl,--gc-sections"
|
||||
|
||||
# packages with build problems using sections
|
||||
CFLAGS_SECTION_REMOVAL:pn-glibc = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-glibc = ""
|
||||
CFLAGS_SECTION_REMOVAL:pn-cairo = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-cairo = ""
|
||||
CFLAGS_SECTION_REMOVAL:pn-perl = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-perl = ""
|
||||
CFLAGS_SECTION_REMOVAL:pn-grub-efi = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-grub-efi = ""
|
||||
CFLAGS_SECTION_REMOVAL:pn-grub = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-grub = ""
|
||||
|
||||
# SDK packages with build problems using sections
|
||||
CFLAGS_SECTION_REMOVAL:pn-nativesdk-glibc = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-nativesdk-glibc = ""
|
||||
CFLAGS_SECTION_REMOVAL:pn-nativesdk-cairo = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-nativesdk-cairo = ""
|
||||
CFLAGS_SECTION_REMOVAL:pn-nativesdk-mingw-w64-runtime = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-nativesdk-mingw-w64-runtime = ""
|
||||
CFLAGS_SECTION_REMOVAL:pn-nativesdk-perl = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-nativesdk-perl = ""
|
||||
CFLAGS_SECTION_REMOVAL:pn-nativesdk-mingw-w64-winpthreads = ""
|
||||
LDFLAGS_SECTION_REMOVAL:pn-nativesdk-mingw-w64-winpthreads = ""
|
||||
|
||||
# set default for target
|
||||
CFLAGS:append:class-target = " ${CFLAGS_SECTION_REMOVAL}"
|
||||
CXXFLAGS:append:class-target = " ${CFLAGS_SECTION_REMOVAL}"
|
||||
LDFLAGS:append:class-target = " ${LDFLAGS_SECTION_REMOVAL}"
|
||||
|
||||
# set default for nativesdk
|
||||
CFLAGS:append:class-nativesdk = " ${CFLAGS_SECTION_REMOVAL}"
|
||||
CXXFLAGS:append:class-nativesdk = " ${CFLAGS_SECTION_REMOVAL}"
|
||||
LDFLAGS:append:class-nativesdk = " ${LDFLAGS_SECTION_REMOVAL}"
|
||||
@@ -0,0 +1,8 @@
|
||||
# Add extra DISTRO_FEATUREs
|
||||
DISTRO_FEATURES:append = " pam usrmerge"
|
||||
|
||||
# Use our alternate kernel version
|
||||
PREFERRED_VERSION_linux-yocto = "6.6%"
|
||||
|
||||
# Ensure the kernel nfs server is enabled
|
||||
KERNEL_FEATURES:append:pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
|
||||
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# Set recipe versions to auto-rev for cutting edge testing
|
||||
#
|
||||
|
||||
INHERIT += "poky-bleeding"
|
||||
|
||||
POKY_AUTOREV_RECIPES = "\
|
||||
libmatchbox \
|
||||
opkg-utils \
|
||||
matchbox-config-gtk \
|
||||
matchbox-desktop \
|
||||
matchbox-keyboard \
|
||||
matchbox-panel-2 \
|
||||
matchbox-terminal \
|
||||
matchbox-theme-sato \
|
||||
matchbox-wm \
|
||||
pseudo \
|
||||
puzzles \
|
||||
sato-icon-theme \
|
||||
sato-screenshot \
|
||||
settings-daemon \
|
||||
"
|
||||
@@ -0,0 +1,4 @@
|
||||
#
|
||||
# Things we exlude from world testing within the reference distro
|
||||
#
|
||||
|
||||
17
sources/poky/meta-poky/conf/distro/poky-altcfg.conf
Normal file
17
sources/poky/meta-poky/conf/distro/poky-altcfg.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# An example of subclassing a distro, primarily used for testing alternate configuration
|
||||
# combinations on the Yocto Project autobuilder
|
||||
#
|
||||
|
||||
PACKAGE_CLASSES ?= "package_ipk"
|
||||
require conf/distro/poky.conf
|
||||
|
||||
DISTRO = "poky-altcfg"
|
||||
DISTROOVERRIDES = "poky:poky-altcfg"
|
||||
#DISTROOVERRIDES = "poky:linuxstdbase"
|
||||
|
||||
POKY_INIT_MANAGER:poky-altcfg = "systemd"
|
||||
# systemd isn't suitable with musl
|
||||
POKY_INIT_MANAGER:poky-altcfg:libc-musl = "sysvinit"
|
||||
|
||||
require conf/distro/include/poky-distro-alt-test-config.inc
|
||||
7
sources/poky/meta-poky/conf/distro/poky-bleeding.conf
Normal file
7
sources/poky/meta-poky/conf/distro/poky-bleeding.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
|
||||
|
||||
require conf/distro/include/poky-floating-revisions.inc
|
||||
require conf/distro/poky.conf
|
||||
|
||||
DISTRO = "poky-bleeding"
|
||||
DISTROOVERRIDES = "poky"
|
||||
128
sources/poky/meta-poky/conf/distro/poky-tiny.conf
Normal file
128
sources/poky/meta-poky/conf/distro/poky-tiny.conf
Normal file
@@ -0,0 +1,128 @@
|
||||
# Distribution definition for: poky-tiny
|
||||
#
|
||||
# Copyright (c) 2011, Intel Corporation.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is released under the MIT license as described in
|
||||
# ../meta/COPYING.MIT.
|
||||
#
|
||||
# Poky-tiny is intended to define a tiny Linux system comprised of a
|
||||
# Linux kernel tailored to support each specific MACHINE and busybox.
|
||||
# Poky-tiny sets some basic policy to ensure a usable system while still
|
||||
# keeping the rootfs and kernel image as small as possible.
|
||||
#
|
||||
# The policies defined are intended to meet the following goals:
|
||||
# o Serial consoles only (no framebuffer or VGA console)
|
||||
# o Basic support for IPV4 networking
|
||||
# o Single user ash shell
|
||||
# o Static images (no support for adding packages or libraries later)
|
||||
# o Read-only or RAMFS root filesystem
|
||||
# o Combined Linux kernel + rootfs in under 4MB
|
||||
# o Allow the user to select between eglibc or uclibc with the TCLIBC variable
|
||||
#
|
||||
# This is currently a partial definition, the following tasks remain:
|
||||
# [ ] Integrate linux-yocto-tiny ktype into linux-yocto
|
||||
# [ ] Define linux-yocto-tiny configs for all supported BSPs
|
||||
# [ ] Drop ldconfig from the installation
|
||||
# [ ] Modify the runqemu scripts to work with ext2 parameter:
|
||||
# runqemu qemux86 qemuparams="-nographic" bootparams="console=ttyS0,115200 root=0800"
|
||||
# [ ] Modify busybox to allow for DISTRO_FEATURES-like configuration
|
||||
|
||||
require conf/distro/poky.conf
|
||||
require conf/distro/include/gcsections.inc
|
||||
|
||||
DISTRO = "poky-tiny"
|
||||
DISTRO_NAME = "Poky Tiny"
|
||||
DISTROOVERRIDES = "poky:poky-tiny"
|
||||
TCLIBC = "musl"
|
||||
|
||||
FULL_OPTIMIZATION="-Os -pipe ${DEBUG_FLAGS}"
|
||||
|
||||
# FIXME: consider adding a new "tiny" feature
|
||||
#DISTRO_FEATURES_append = " tiny"
|
||||
|
||||
# Distro config is evaluated after the machine config, so we have to explicitly
|
||||
# set the kernel provider to override a machine config.
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
|
||||
PREFERRED_VERSION_linux-yocto-tiny ?= "6.6%"
|
||||
|
||||
# We can use packagegroup-core-boot, but in the future we may need a new packagegroup-core-tiny
|
||||
#POKY_DEFAULT_EXTRA_RDEPENDS += "packagegroup-core-boot"
|
||||
# Drop kernel-module-af-packet from RRECOMMENDS
|
||||
POKY_DEFAULT_EXTRA_RRECOMMENDS = ""
|
||||
|
||||
# FIXME: what should we do with this?
|
||||
TCLIBCAPPEND = ""
|
||||
|
||||
# Disable wide char support for ncurses as we don't include it in
|
||||
# in the LIBC features below.
|
||||
# Leave native enable to avoid build failures
|
||||
ENABLE_WIDEC = "false"
|
||||
ENABLE_WIDEC:class-native = "true"
|
||||
|
||||
# Drop native language support. This removes the
|
||||
# eglibc->bash->gettext->libc-posix-clang-wchar dependency.
|
||||
USE_NLS="no"
|
||||
# As we don't have native language support, don't install locales into images
|
||||
IMAGE_LINGUAS = ""
|
||||
|
||||
# Comment out any of the lines below to disable them in the build
|
||||
# DISTRO_FEATURES options:
|
||||
# alsa bluetooth ext2 pcmcia usbgadget usbhost wifi nfs zeroconf pci
|
||||
DISTRO_FEATURES_TINY = "pci"
|
||||
DISTRO_FEATURES_NET = "ipv4 ipv6"
|
||||
DISTRO_FEATURES_USB = "usbhost"
|
||||
#DISTRO_FEATURES_USBGADGET = "usbgadget"
|
||||
#DISTRO_FEATURES_WIFI = "wifi"
|
||||
|
||||
DISTRO_FEATURES = "${DISTRO_FEATURES_TINY} \
|
||||
${DISTRO_FEATURES_NET} \
|
||||
${DISTRO_FEATURES_USB} \
|
||||
${DISTRO_FEATURES_USBGADGET} \
|
||||
${DISTRO_FEATURES_WIFI} \
|
||||
"
|
||||
|
||||
DISTRO_FEATURES:class-native = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
|
||||
DISTRO_FEATURES:class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
|
||||
|
||||
# enable mdev/busybox for init
|
||||
POKY_INIT_MANAGER:poky-tiny = "mdev-busybox"
|
||||
|
||||
# FIXME: Consider adding "modules" to MACHINE_FEATURES and using that in
|
||||
# packagegroup-core-base to select modutils-initscripts or not. Similar with "net" and
|
||||
# netbase.
|
||||
|
||||
# By default we only support initramfs. We don't build live as that
|
||||
# pulls in a lot of dependencies for the live image and the installer, like
|
||||
# udev, grub, etc. These pull in gettext, which fails to build with wide
|
||||
# character support.
|
||||
IMAGE_FSTYPES = "cpio.gz"
|
||||
QB_DEFAULT_FSTYPE = "cpio.gz"
|
||||
|
||||
# Drop v86d from qemu dependency list (we support serial)
|
||||
# Drop grub from meta-intel BSPs
|
||||
# FIXME: A different mechanism is needed here. We could define -tiny
|
||||
# variants of all compatible machines, but that leads to a lot
|
||||
# more machine configs to maintain long term.
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = ""
|
||||
|
||||
# The mtrace script included by eglibc is a perl script. This means the system
|
||||
# will build perl in case this package is installed. Since we don't care about
|
||||
# this script for the purposes of tiny, remove the dependency from here.
|
||||
RDEPENDS:${PN}-mtrace:pn-eglibc = ""
|
||||
|
||||
SKIP_RECIPE[build-appliance-image] = "not buildable with poky-tiny"
|
||||
SKIP_RECIPE[core-image-rt] = "not buildable with poky-tiny"
|
||||
SKIP_RECIPE[core-image-rt-sdk] = "not buildable with poky-tiny"
|
||||
SKIP_RECIPE[core-image-sato] = "not buildable with poky-tiny"
|
||||
SKIP_RECIPE[core-image-sato-dev] = "not buildable with poky-tiny"
|
||||
SKIP_RECIPE[core-image-sato-sdk] = "not buildable with poky-tiny"
|
||||
SKIP_RECIPE[core-image-x11] = "not buildable with poky-tiny"
|
||||
SKIP_RECIPE[core-image-weston] = "not buildable with poky-tiny"
|
||||
|
||||
# Disable python usage in opkg-utils since it won't build with tiny config
|
||||
PACKAGECONFIG:remove:pn-opkg-utils = "python"
|
||||
|
||||
# If shadow-base is brought into the image, logins will fail because it
|
||||
# doesn't have the heuristics to work when CONFIG_MULTIUSER is unset.
|
||||
PACKAGE_EXCLUDE += "shadow-base"
|
||||
81
sources/poky/meta-poky/conf/distro/poky.conf
Normal file
81
sources/poky/meta-poky/conf/distro/poky.conf
Normal file
@@ -0,0 +1,81 @@
|
||||
DISTRO = "poky"
|
||||
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
|
||||
DISTRO_VERSION = "5.0.11"
|
||||
DISTRO_CODENAME = "scarthgap"
|
||||
SDK_VENDOR = "-pokysdk"
|
||||
SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
|
||||
SDK_VERSION[vardepvalue] = "${SDK_VERSION}"
|
||||
|
||||
MAINTAINER = "Poky Maintainers <poky@lists.yoctoproject.org>"
|
||||
|
||||
TARGET_VENDOR = "-poky"
|
||||
|
||||
LOCALCONF_VERSION = "2"
|
||||
|
||||
# Override these in poky based distros
|
||||
POKY_DEFAULT_DISTRO_FEATURES = "opengl ptest multiarch wayland vulkan"
|
||||
POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
|
||||
POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
|
||||
|
||||
DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
|
||||
|
||||
PREFERRED_VERSION_linux-yocto ?= "6.6%"
|
||||
PREFERRED_VERSION_linux-yocto-rt ?= "6.6%"
|
||||
|
||||
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
|
||||
SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}"
|
||||
|
||||
DISTRO_EXTRA_RDEPENDS += "${POKY_DEFAULT_EXTRA_RDEPENDS}"
|
||||
DISTRO_EXTRA_RRECOMMENDS += "${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
|
||||
|
||||
TCLIBCAPPEND = ""
|
||||
|
||||
PACKAGE_CLASSES ?= "package_rpm"
|
||||
|
||||
SANITY_TESTED_DISTROS ?= " \
|
||||
poky-4.3 \n \
|
||||
poky-5.0 \n \
|
||||
ubuntu-20.04 \n \
|
||||
ubuntu-22.04 \n \
|
||||
ubuntu-23.04 \n \
|
||||
ubuntu-24.04 \n \
|
||||
fedora-38 \n \
|
||||
fedora-39 \n \
|
||||
fedora-40 \n \
|
||||
centosstream-8 \n \
|
||||
debian-11 \n \
|
||||
debian-12 \n \
|
||||
opensuseleap-15.4 \n \
|
||||
almalinux-8.8 \n \
|
||||
almalinux-8.9 \n \
|
||||
almalinux-8.10 \n \
|
||||
almalinux-9.2 \n \
|
||||
almalinux-9.4 \n \
|
||||
rocky-9 \n \
|
||||
"
|
||||
# add poky sanity bbclass
|
||||
INHERIT += "poky-sanity"
|
||||
|
||||
# QA check settings - a little stricter than the OE-Core defaults
|
||||
# (none currently necessary as we now match OE-Core)
|
||||
#WARN_TO_ERROR_QA = "X"
|
||||
#WARN_QA_remove = "${WARN_TO_ERROR_QA}"
|
||||
#ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
|
||||
|
||||
require conf/distro/include/poky-world-exclude.inc
|
||||
require conf/distro/include/no-static-libs.inc
|
||||
require conf/distro/include/yocto-uninative.inc
|
||||
require conf/distro/include/security_flags.inc
|
||||
INHERIT += "uninative"
|
||||
|
||||
BB_SIGNATURE_HANDLER ?= "OEEquivHash"
|
||||
BB_HASHSERVE ??= "auto"
|
||||
|
||||
POKY_INIT_MANAGER = "sysvinit"
|
||||
INIT_MANAGER ?= "${POKY_INIT_MANAGER}"
|
||||
|
||||
# We need debug symbols so that SPDX license manifests for the kernel work
|
||||
KERNEL_EXTRA_FEATURES:append = " features/debug/debug-kernel.scc"
|
||||
|
||||
# Enable creation of SPDX manifests by default
|
||||
INHERIT += "create-spdx"
|
||||
Reference in New Issue
Block a user