From: Denys Dmytriyenko <[email protected]>

OE-Core recently added non-flat directory structure for device trees
and overlays packaging:
https://git.openembedded.org/openembedded-core/commit/?id=04ab57d20009d85eb566e83ae6fe1dcea4db7300

But it only packages 2 levels - top KERNEL_DTBDEST and one level down
for vendored device trees. But linux-bb.org installs own overlays in
"overlays" subdir of the "ti" vendor directory, making it the third
level. Add those overlays into the package as weel.

Cc: Randolph Sapp <[email protected]>
Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb 
b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
index 8604e028..ca137c71 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
@@ -33,3 +33,7 @@ SRC_URI = 
"git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH
 
 SRC_URI:append:armv7a = " 
file://0001-defconfig-switch-default-kernel-compression-to-LZMA.patch"
 
+FILES:${KERNEL_PACKAGE_NAME}-devicetree += " \
+    /${KERNEL_DTBDEST}/*/overlays/*.dtb \
+    /${KERNEL_DTBDEST}/*/overlays/*.dtbo \
+"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16502): 
https://lists.yoctoproject.org/g/meta-ti/message/16502
Mute This Topic: https://lists.yoctoproject.org/mt/98767357/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-ti/leave/6695321/21656/1393940836/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to