@@ -28,4 +28,12 @@ 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 ?= ""
\ No newline at end of file
+TI_INITRAMFS_KERNEL_MODULES ?= ""
+
+BUILD_CORE_INITRAMFS_IMAGE ?= ""
+BUILD_CORE_INITRAMFS_IMAGE:bsp-mainline = "ti-core-initramfs:do_image_complete"
+BUILD_CORE_INITRAMFS_IMAGE:bsp-next = "ti-core-initramfs:do_image_complete"
+do_image_complete[depends] += "${BUILD_CORE_INITRAMFS_IMAGE}"
+
+IMAGE_BOOT_FILES:append:bsp-mainline = " ti-core-initramfs.cpio.xz"
+IMAGE_BOOT_FILES:append:bsp-next = " ti-core-initramfs.cpio.xz"
\ No newline at end of file
Trigger build for initramfs image and package it in the boot partition of all TI SoC's whenever an image recipe is built with upstream kernel(mainline or mainline-next). Signed-off-by: Moteen Shah <m-shah@ti.com> --- meta-ti-bsp/conf/machine/include/ti-soc.inc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)