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:
57
sources/poky/meta/classes-recipe/crosssdk.bbclass
Normal file
57
sources/poky/meta/classes-recipe/crosssdk.bbclass
Normal file
@@ -0,0 +1,57 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
inherit cross
|
||||
|
||||
CLASSOVERRIDE = "class-crosssdk"
|
||||
NATIVESDKLIBC ?= "libc-glibc"
|
||||
LIBCOVERRIDE = ":${NATIVESDKLIBC}"
|
||||
MACHINEOVERRIDES = ""
|
||||
PACKAGE_ARCH = "${SDK_ARCH}"
|
||||
|
||||
python () {
|
||||
# set TUNE_PKGARCH to SDK_ARCH
|
||||
d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH'))
|
||||
# Set features here to prevent appends and distro features backfill
|
||||
# from modifying nativesdk distro features
|
||||
features = set(d.getVar("DISTRO_FEATURES_NATIVESDK").split())
|
||||
filtered = set(bb.utils.filter("DISTRO_FEATURES", d.getVar("DISTRO_FEATURES_FILTER_NATIVESDK"), d).split())
|
||||
d.setVar("DISTRO_FEATURES", " ".join(sorted(features | filtered)))
|
||||
}
|
||||
|
||||
STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
|
||||
|
||||
# This class encodes staging paths into its scripts data so can only be
|
||||
# reused if we manipulate the paths.
|
||||
SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}"
|
||||
|
||||
TARGET_ARCH = "${SDK_ARCH}"
|
||||
TARGET_VENDOR = "${SDK_VENDOR}"
|
||||
TARGET_OS = "${SDK_OS}"
|
||||
TARGET_PREFIX = "${SDK_PREFIX}"
|
||||
TARGET_CC_ARCH = "${SDK_CC_ARCH}"
|
||||
TARGET_LD_ARCH = "${SDK_LD_ARCH}"
|
||||
TARGET_AS_ARCH = "${SDK_AS_ARCH}"
|
||||
TARGET_CPPFLAGS = ""
|
||||
TARGET_CFLAGS = ""
|
||||
TARGET_CXXFLAGS = ""
|
||||
TARGET_LDFLAGS = ""
|
||||
TARGET_FPU = ""
|
||||
|
||||
|
||||
target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}"
|
||||
target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}"
|
||||
target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}"
|
||||
target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
|
||||
target_exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
|
||||
baselib = "lib"
|
||||
|
||||
do_packagedata[stamp-extra-info] = ""
|
||||
|
||||
# Need to force this to ensure consitency across architectures
|
||||
EXTRA_OECONF_GCC_FLOAT = ""
|
||||
|
||||
USE_NLS = "no"
|
||||
Reference in New Issue
Block a user