diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2025-07-01 21:46:13 -0400 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-07-12 10:15:31 -0500 |
commit | a598566a332b20cf60561d3df93e92db432f7dc3 (patch) | |
tree | 031012e9b32b97b61934341310553ede5c2bcd0c | |
parent | b14bb00d3cd393452ecb543fc41984949ba32f7b (diff) | |
download | meta-ti-a598566a332b20cf60561d3df93e92db432f7dc3.tar.gz |
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 <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ | |||
1 | FIT_DESC ?= "Kernel fitImage for ${DISTRO_NAME}/${PKGV}/${MACHINE}" | ||
2 | FIT_CONF_PREFIX ?= "conf-ti_" | ||
3 | |||
4 | require recipes-kernel/linux/linux-yocto-fitimage.bb | ||
5 | |||
6 | include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''} | ||
7 | |||
8 | do_compile[depends] += "virtual/kernel:do_shared_workdir" | ||