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/classes-recipe/ptest-perl.bbclass
Normal file
36
sources/poky/meta/classes-recipe/ptest-perl.bbclass
Normal file
@@ -0,0 +1,36 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
inherit ptest
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${COREBASE}/meta/files:"
|
||||
|
||||
SRC_URI += "file://ptest-perl/run-ptest"
|
||||
|
||||
do_install_ptest_perl() {
|
||||
install -d ${D}${PTEST_PATH}
|
||||
if [ ! -f ${D}${PTEST_PATH}/run-ptest ]; then
|
||||
install -m 0755 ${WORKDIR}/ptest-perl/run-ptest ${D}${PTEST_PATH}
|
||||
fi
|
||||
cp -r ${B}/t ${D}${PTEST_PATH}
|
||||
chown -R root:root ${D}${PTEST_PATH}
|
||||
}
|
||||
|
||||
FILES:${PN}-ptest:prepend = "${PTEST_PATH}/t/* ${PTEST_PATH}/run-ptest "
|
||||
|
||||
RDEPENDS:${PN}-ptest:prepend = "perl "
|
||||
|
||||
addtask install_ptest_perl after do_install_ptest_base before do_package
|
||||
|
||||
python () {
|
||||
if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d):
|
||||
d.setVarFlag('do_install_ptest_perl', 'fakeroot', '1')
|
||||
|
||||
# Remove all '*ptest_perl' tasks when ptest is not enabled
|
||||
if not(d.getVar('PTEST_ENABLED') == "1"):
|
||||
for i in ['do_install_ptest_perl']:
|
||||
bb.build.deltask(i, d)
|
||||
}
|
||||
Reference in New Issue
Block a user