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:
41
sources/poky/meta/recipes-bsp/grub/grub_2.12.bb
Normal file
41
sources/poky/meta/recipes-bsp/grub/grub_2.12.bb
Normal file
@@ -0,0 +1,41 @@
|
||||
require grub2.inc
|
||||
|
||||
RDEPENDS:${PN}-common += "${PN}-editenv"
|
||||
RDEPENDS:${PN} += "${PN}-common"
|
||||
RDEPENDS:${PN}:class-native = ""
|
||||
|
||||
RPROVIDES:${PN}-editenv += "${PN}-efi-editenv"
|
||||
|
||||
PROVIDES:append:class-native = " grub-efi-native"
|
||||
|
||||
PACKAGES =+ "${PN}-editenv ${PN}-common"
|
||||
FILES:${PN}-editenv = "${bindir}/grub-editenv"
|
||||
FILES:${PN}-common = " \
|
||||
${bindir} \
|
||||
${sysconfdir} \
|
||||
${sbindir} \
|
||||
${datadir}/grub \
|
||||
"
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
do_install:append () {
|
||||
# Avoid conflicts with the EFI package for systems such as arm64 where we
|
||||
# need to build grub and grub-efi but only EFI is supported by removing EFI
|
||||
# from this package.
|
||||
rm -rf ${D}${libdir}/grub/*-efi/
|
||||
rmdir --ignore-fail-on-non-empty ${D}${libdir}/grub ${D}${libdir}
|
||||
|
||||
install -d ${D}${sysconfdir}/grub.d
|
||||
# Remove build host references...
|
||||
find "${D}" -name modinfo.sh -type f -exec \
|
||||
sed -i \
|
||||
-e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
|
||||
-e 's|${DEBUG_PREFIX_MAP}||g' \
|
||||
-e 's:${RECIPE_SYSROOT_NATIVE}::g' \
|
||||
{} +
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
INSANE_SKIP:${PN}-dbg = "arch"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user