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:
@@ -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"
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user