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:
31
sources/poky/meta/classes-recipe/linux-dummy.bbclass
Normal file
31
sources/poky/meta/classes-recipe/linux-dummy.bbclass
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
python __anonymous () {
|
||||
if d.getVar('PREFERRED_PROVIDER_virtual/kernel') == 'linux-dummy':
|
||||
# copy part codes from kernel.bbclass
|
||||
kname = d.getVar('KERNEL_PACKAGE_NAME') or "kernel"
|
||||
|
||||
# set an empty package of kernel-devicetree
|
||||
d.appendVar('PACKAGES', ' %s-devicetree' % kname)
|
||||
d.setVar('ALLOW_EMPTY:%s-devicetree' % kname, '1')
|
||||
|
||||
# Merge KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES
|
||||
type = d.getVar('KERNEL_IMAGETYPE') or ""
|
||||
alttype = d.getVar('KERNEL_ALT_IMAGETYPE') or ""
|
||||
types = d.getVar('KERNEL_IMAGETYPES') or ""
|
||||
if type not in types.split():
|
||||
types = (type + ' ' + types).strip()
|
||||
if alttype not in types.split():
|
||||
types = (alttype + ' ' + types).strip()
|
||||
|
||||
# set empty packages of kernel-image-*
|
||||
for type in types.split():
|
||||
typelower = type.lower()
|
||||
d.appendVar('PACKAGES', ' %s-image-%s' % (kname, typelower))
|
||||
d.setVar('ALLOW_EMPTY:%s-image-%s' % (kname, typelower), '1')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user