From a598566a332b20cf60561d3df93e92db432f7dc3 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 1 Jul 2025 21:46:13 -0400 Subject: ti-kernel-fitimage: extend default FIT image wrapper OE-Core provides default FIT image wrapper, but we need to extend it with support for the dynamic devicetree prefix matching. While at it, also use the correct kernel version from PKGV. Both of these use the shared kernel sources tree, hence ensure it's available before any processing. Since old behavior was putting vendor subdir as a sanitized prefix for each DTB entry as "ti_", U-boot expects corresponding config entries to also contain the same - update conf prefix accordingly. Signed-off-by: Denys Dmytriyenko Signed-off-by: Ryan Eatmon --- meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb b/meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb new file mode 100644 index 00000000..dae76387 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb @@ -0,0 +1,8 @@ +FIT_DESC ?= "Kernel fitImage for ${DISTRO_NAME}/${PKGV}/${MACHINE}" +FIT_CONF_PREFIX ?= "conf-ti_" + +require recipes-kernel/linux/linux-yocto-fitimage.bb + +include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''} + +do_compile[depends] += "virtual/kernel:do_shared_workdir" -- cgit v1.2.3-54-g00ecf