diff options
author | Ryan Eatmon <reatmon@ti.com> | 2025-07-19 10:49:49 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-07-19 12:39:41 -0500 |
commit | 9be9be22dfeb62002d192e532da64cc6854cf535 (patch) | |
tree | c9e91eed3b6c3987a7a4dffc4979d75439b9290b /meta-ti-bsp/dynamic-layers/openembedded-layer | |
parent | 93768b829ac91b3706561fe4c540c8e79671a242 (diff) | |
download | meta-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/dynamic-layers/openembedded-layer')
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 @@ | |||
1 | IMAGE_POKY = "" | ||
2 | IMAGE_POKY:poky = "image-poky.inc" | ||
3 | |||
4 | require ${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 @@ | |||
1 | IMAGE_POKY = "" | ||
2 | IMAGE_POKY:poky = "image-poky.inc" | ||
3 | |||
4 | require ${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 @@ | |||
1 | include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''} | ||
2 | |||
3 | do_image_wic[depends] += "virtual/kernel:do_shared_workdir" | ||