1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set

TI_INITRAMFS_KERNEL_MODULES gets set only for TI platfroms and ends up
being undefined otherwise, which breaks parsing in yocto-check-layer
and/or in multi-BSP setups. Ensure the variable is defined in the
packagegroup, if not already set by the machine configuration.

Remove the previous default assignment since we put it in the wrong
location.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Ryan Eatmon
2025-10-24 10:31:50 -05:00
parent 6b9a2b3225
commit a58677ffed
2 changed files with 2 additions and 2 deletions

View File

@@ -29,8 +29,6 @@ CLASS_DEVICETREE_PREFIX = "${@ 'ti-devicetree-prefix' if d.getVar('KERNEL_DEVICE
KERNEL_CLASSES += "${CLASS_DEVICETREE_PREFIX}"
IMAGE_CLASSES += "${CLASS_DEVICETREE_PREFIX}"
TI_INITRAMFS_KERNEL_MODULES ?= ""
BUILD_CORE_INITRAMFS_IMAGE = "ti-core-initramfs"
BUILD_CORE_INITRAMFS_IMAGE_FILE = "${BUILD_CORE_INITRAMFS_IMAGE}.cpio.xz"

View File

@@ -2,6 +2,8 @@ SUMMARY = "Minimal initramfs for boot requirements"
require recipes-core/packagegroups/packagegroup-core-boot.bb
TI_INITRAMFS_KERNEL_MODULES ?= ""
RDEPENDS:${PN} += "\
${TI_INITRAMFS_KERNEL_MODULES} \
initramfs-framework-base \