summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2025-07-19 10:49:49 -0500
committerRyan Eatmon <reatmon@ti.com>2025-07-19 12:39:41 -0500
commit9be9be22dfeb62002d192e532da64cc6854cf535 (patch)
treec9e91eed3b6c3987a7a4dffc4979d75439b9290b /meta-ti-bsp
parent93768b829ac91b3706561fe4c540c8e79671a242 (diff)
downloadmeta-ti-scarthgap-wip.tar.gz
meta-ti-bsp: Add KERNEL_DEVICETREE_PREFIX logic to Poky imagesscarthgap-wip
The boot partition for things like the wic image, use the KERNEL_DEVICETREE to populate DTBs. But for the meta-ti-bsp kernels we tend to rely on the KERNEL_DEVICETREE_PREFIX to glob pull in DTBs instead of a single list. So using dynamic layers, we can inject the proper code to properly resolve the KERNEL_DEVICETREE in each image file. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp')
-rw-r--r--meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/core-image-base.bbappend4
-rw-r--r--meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/core-image-minimal.bbappend4
-rw-r--r--meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/image-poky.inc3
3 files changed, 11 insertions, 0 deletions
diff --git a/meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/core-image-base.bbappend b/meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/core-image-base.bbappend
new file mode 100644
index 00000000..b6c70dc5
--- /dev/null
+++ b/meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/core-image-base.bbappend
@@ -0,0 +1,4 @@
1IMAGE_POKY = ""
2IMAGE_POKY:poky = "image-poky.inc"
3
4require ${IMAGE_POKY}
diff --git a/meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/core-image-minimal.bbappend b/meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/core-image-minimal.bbappend
new file mode 100644
index 00000000..b6c70dc5
--- /dev/null
+++ b/meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/core-image-minimal.bbappend
@@ -0,0 +1,4 @@
1IMAGE_POKY = ""
2IMAGE_POKY:poky = "image-poky.inc"
3
4require ${IMAGE_POKY}
diff --git a/meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/image-poky.inc b/meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/image-poky.inc
new file mode 100644
index 00000000..31c6b6f7
--- /dev/null
+++ b/meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-core/images/image-poky.inc
@@ -0,0 +1,3 @@
1include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
2
3do_image_wic[depends] += "virtual/kernel:do_shared_workdir"