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:
52
sources/poky/meta/recipes-bsp/u-boot/u-boot-configure.inc
Normal file
52
sources/poky/meta/recipes-bsp/u-boot/u-boot-configure.inc
Normal file
@@ -0,0 +1,52 @@
|
||||
# This provides the logic for creating the desired u-boot config,
|
||||
# accounting for any *.cfg files added to SRC_URI. It's separated
|
||||
# from u-boot.inc for use by recipes that need u-boot properly
|
||||
# configured but aren't doing a full build of u-boot itself (such as
|
||||
# its companion tools).
|
||||
|
||||
inherit uboot-config cml1
|
||||
|
||||
DEPENDS += "kern-tools-native"
|
||||
|
||||
CONFIGURE_FILES = "${@d.getVar('UBOOT_MACHINE') or '.config'}"
|
||||
|
||||
do_configure () {
|
||||
if [ -n "${UBOOT_CONFIG}" ]; then
|
||||
unset i j
|
||||
for config in ${UBOOT_MACHINE}; do
|
||||
i=$(expr $i + 1);
|
||||
for type in ${UBOOT_CONFIG}; do
|
||||
j=$(expr $j + 1);
|
||||
if [ $j -eq $i ]; then
|
||||
uboot_configure_config $config $type
|
||||
fi
|
||||
done
|
||||
unset j
|
||||
done
|
||||
unset i
|
||||
else
|
||||
uboot_configure
|
||||
fi
|
||||
}
|
||||
|
||||
uboot_configure_config () {
|
||||
config=$1
|
||||
type=$2
|
||||
|
||||
oe_runmake -C ${S} O=${B}/${config} ${config}
|
||||
if [ -n "${@' '.join(find_cfgs(d))}" ]; then
|
||||
merge_config.sh -m -O ${B}/${config} ${B}/${config}/.config ${@" ".join(find_cfgs(d))}
|
||||
oe_runmake -C ${S} O=${B}/${config} oldconfig
|
||||
fi
|
||||
}
|
||||
|
||||
uboot_configure () {
|
||||
if [ -n "${UBOOT_MACHINE}" ]; then
|
||||
oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE}
|
||||
else
|
||||
oe_runmake -C ${S} O=${B} oldconfig
|
||||
fi
|
||||
merge_config.sh -m .config ${@" ".join(find_cfgs(d))}
|
||||
cml1_do_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user