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 @@
|
||||
complete -o nospace -C /unit_tests/memtool memtool
|
||||
@@ -0,0 +1,10 @@
|
||||
SUMMARY = "Dummy package for SoCs lacking imx-test package"
|
||||
DESCRIPTION = "Dummy package for SoCs lacking imx-test package"
|
||||
SECTION = "base"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(imx-generic-bsp)"
|
||||
86
sources/meta-freescale/recipes-bsp/imx-test/imx-test_git.bb
Normal file
86
sources/meta-freescale/recipes-bsp/imx-test/imx-test_git.bb
Normal file
@@ -0,0 +1,86 @@
|
||||
# Copyright (C) 2012-2016 O.S. Systems Software LTDA.
|
||||
# Copyright (C) 2013-2016 Freescale Semiconductor
|
||||
# Copyright (C) 2017-2022 NXP
|
||||
|
||||
SUMMARY = "Test programs for i.MX BSP"
|
||||
DESCRIPTION = "Unit tests for the i.MX BSP"
|
||||
SECTION = "base"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"
|
||||
|
||||
DEPENDS = "alsa-lib freetype libdrm"
|
||||
DEPENDS:append:imxvpu = " virtual/imxvpu"
|
||||
DEPENDS:append:mx6-nxp-bsp = " imx-lib"
|
||||
DEPENDS:append:mx7-nxp-bsp = " imx-lib"
|
||||
DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib"
|
||||
DEPENDS:append:mx93-nxp-bsp = " imx-lib"
|
||||
|
||||
PE = "1"
|
||||
PV = "7.0+${SRCPV}"
|
||||
|
||||
SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \
|
||||
file://memtool_profile"
|
||||
SRCBRANCH = "lf-6.6.3_1.0.0"
|
||||
SRCREV = "8a1fa37664a1e470cf86f1185c08e265e4602a9b"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit module-base use-imx-headers
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
|
||||
PLATFORM:mx6q-nxp-bsp = "IMX6Q"
|
||||
PLATFORM:mx6dl-nxp-bsp = "IMX6Q"
|
||||
PLATFORM:mx6sl-nxp-bsp = "IMX6SL"
|
||||
PLATFORM:mx6sll-nxp-bsp = "IMX6SL"
|
||||
PLATFORM:mx6sx-nxp-bsp = "IMX6SX"
|
||||
PLATFORM:mx6ul-nxp-bsp = "IMX6UL"
|
||||
PLATFORM:mx7d-nxp-bsp = "IMX7D"
|
||||
PLATFORM:mx7ulp-nxp-bsp = "IMX7D"
|
||||
PLATFORM:mx8-nxp-bsp = "IMX8"
|
||||
PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP"
|
||||
PLATFORM:mx93-nxp-bsp = "IMX8ULP"
|
||||
PLATFORM:mx95-nxp-bsp = "IMX8"
|
||||
|
||||
PARALLEL_MAKE = "-j 1"
|
||||
EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
|
||||
|
||||
PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
|
||||
PACKAGECONFIG:append:imxvpu = " vpu"
|
||||
PACKAGECONFIG:append:mx8m-nxp-bsp = " swpdm"
|
||||
|
||||
PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr"
|
||||
PACKAGECONFIG[vpu] = "HAS_VPU=true,HAS_VPU=false,virtual/imxvpu"
|
||||
PACKAGECONFIG[swpdm] = "HAS_IMX_SW_PDM=true,HAS_IMX_SW_PDM=false,imx-sw-pdm"
|
||||
|
||||
do_compile() {
|
||||
CFLAGS="${TOOLCHAIN_OPTIONS}"
|
||||
oe_runmake V=1 VERBOSE='' \
|
||||
CROSS_COMPILE=${TARGET_PREFIX} \
|
||||
INC="-I${S}/include \
|
||||
-I${STAGING_INCDIR} \
|
||||
-I${STAGING_INCDIR_IMX}" \
|
||||
CC="${CC} -L${STAGING_LIBDIR} ${LDFLAGS}" \
|
||||
SDKTARGETSYSROOT=${STAGING_DIR_HOST} \
|
||||
LINUXPATH=${STAGING_KERNEL_DIR} \
|
||||
KBUILD_OUTPUT=${STAGING_KERNEL_BUILDDIR} \
|
||||
PLATFORM=${PLATFORM}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D}/unit_tests \
|
||||
PLATFORM=${PLATFORM} \
|
||||
install
|
||||
|
||||
if [ -e ${WORKDIR}/clocks.sh ]; then
|
||||
install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
|
||||
fi
|
||||
install -d -m 0755 ${D}${ROOT_HOME}/
|
||||
install -m 0644 ${WORKDIR}/memtool_profile ${D}${ROOT_HOME}/.profile
|
||||
}
|
||||
|
||||
FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile"
|
||||
RDEPENDS:${PN} = "bash"
|
||||
|
||||
FILES:${PN}-dbg += "/unit_tests/.debug"
|
||||
Reference in New Issue
Block a user