summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/include/ti-soc.inc
diff options
context:
space:
mode:
authorMoteen Shah <m-shah@ti.com>2025-10-15 17:30:32 +0530
committerRyan Eatmon <reatmon@ti.com>2025-10-21 18:43:29 -0500
commitb08feb359a963aacac6036630a1f63865bf5537f (patch)
tree4d54ff82312eb4b5eaefd9c0e3e40e0e44ee12d0 /meta-ti-bsp/conf/machine/include/ti-soc.inc
parentee401f8a0d975f39b8f039537394d5916ffc7650 (diff)
downloadmeta-ti-b08feb359a963aacac6036630a1f63865bf5537f.tar.gz
meta-ti-bsp: conf: machine: include: Build initramfs for all TI SoCs.
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> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine/include/ti-soc.inc')
-rw-r--r--meta-ti-bsp/conf/machine/include/ti-soc.inc18
1 files changed, 17 insertions, 1 deletions
diff --git a/meta-ti-bsp/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc
index 0d0ae055..2e3a1c1b 100644
--- a/meta-ti-bsp/conf/machine/include/ti-soc.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc
@@ -29,4 +29,20 @@ CLASS_DEVICETREE_PREFIX = "${@ 'ti-devicetree-prefix' if d.getVar('KERNEL_DEVICE
29KERNEL_CLASSES += "${CLASS_DEVICETREE_PREFIX}" 29KERNEL_CLASSES += "${CLASS_DEVICETREE_PREFIX}"
30IMAGE_CLASSES += "${CLASS_DEVICETREE_PREFIX}" 30IMAGE_CLASSES += "${CLASS_DEVICETREE_PREFIX}"
31 31
32TI_INITRAMFS_KERNEL_MODULES ?= "" \ No newline at end of file 32TI_INITRAMFS_KERNEL_MODULES ?= ""
33
34BUILD_CORE_INITRAMFS_IMAGE = "ti-core-initramfs"
35BUILD_CORE_INITRAMFS_IMAGE_FILE = "${BUILD_CORE_INITRAMFS_IMAGE}.cpio.xz"
36
37BUILD_CORE_INITRAMFS_IMAGE_STEP ?= ""
38BUILD_CORE_INITRAMFS_IMAGE_STEP:bsp-mainline = "${BUILD_CORE_INITRAMFS_IMAGE}:do_image_complete"
39BUILD_CORE_INITRAMFS_IMAGE_STEP:bsp-next = "${BUILD_CORE_INITRAMFS_IMAGE}:do_image_complete"
40
41do_image_wic[depends] += "${BUILD_CORE_INITRAMFS_IMAGE_STEP}"
42
43TI_WKS_INITRAMFS ?= ""
44TI_WKS_INITRAMFS:bsp-mainline = ",initrd=${BUILD_CORE_INITRAMFS_IMAGE_FILE}"
45TI_WKS_INITRAMFS:bsp-next = ",initrd=${BUILD_CORE_INITRAMFS_IMAGE_FILE}"
46
47IMAGE_BOOT_FILES:append:bsp-mainline = " ${BUILD_CORE_INITRAMFS_IMAGE_FILE}"
48IMAGE_BOOT_FILES:append:bsp-next = " ${BUILD_CORE_INITRAMFS_IMAGE_FILE}"