If the ti-core-initramfs is configured to be built, then make sure to
add it to the fitImage.

Signed-off-by: Ryan Eatmon <[email protected]>
---
 meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc 
b/meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc
index 15c05e04..c816f1dc 100644
--- a/meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc
@@ -21,3 +21,5 @@ do_image_wic[depends] += "${@ 
'${TI_CORE_INITRAMFS_IMAGE}:do_image_complete' if
 TI_WKS_INITRAMFS ?= "${@ ',initrd=${TI_CORE_INITRAMFS_IMAGE_FILE}' if 
d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
 
 IMAGE_BOOT_FILES += "${@ '${TI_CORE_INITRAMFS_IMAGE_FILE}' if 
d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
+
+INITRAMFS_IMAGE ?= "${@ '${TI_CORE_INITRAMFS_IMAGE}' if 
d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20209): 
https://lists.yoctoproject.org/g/meta-ti/message/20209
Mute This Topic: https://lists.yoctoproject.org/mt/120518381/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to