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:
28
sources/meta-freescale/conf/machine/include/utilities.inc
Normal file
28
sources/meta-freescale/conf/machine/include/utilities.inc
Normal file
@@ -0,0 +1,28 @@
|
||||
### Machine definition file utilities
|
||||
|
||||
def make_dtb_boot_files(d):
|
||||
# Generate IMAGE_BOOT_FILES entries for device tree files listed in
|
||||
# KERNEL_DEVICETREE.
|
||||
# Use only the basename for dtb files:
|
||||
alldtbs = d.getVar('KERNEL_DEVICETREE')
|
||||
|
||||
|
||||
# DTBs may be built out of kernel with devicetree.bbclass
|
||||
if not alldtbs:
|
||||
return ''
|
||||
|
||||
def transform(dtb):
|
||||
if not (dtb.endswith('dtb') or dtb.endswith('dtbo')):
|
||||
# eg: whatever/bcm2708-rpi-b.dtb has:
|
||||
# DEPLOYDIR file: bcm2708-rpi-b.dtb
|
||||
# destination: bcm2708-rpi-b.dtb
|
||||
bb.error("KERNEL_DEVICETREE entry %s is not a .dtb or .dtbo file." % (dtb) )
|
||||
return os.path.basename(dtb)
|
||||
|
||||
return ' '.join([transform(dtb) for dtb in alldtbs.split() if dtb])
|
||||
|
||||
def get_spl_binary(d):
|
||||
imx_default_bootloader = d.get('IMX_DEFAULT_BOOTLOADER')
|
||||
spl_binary = d.getVar("SPL_BINARY:pn-%s" % imx_default_bootloader)
|
||||
|
||||
return spl_binary or ""
|
||||
Reference in New Issue
Block a user