diff mbox series

[master] linux-bb.org: also package DT overlays in separate dir

Message ID 20230508181551.2404141-1-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [master] linux-bb.org: also package DT overlays in separate dir | expand

Commit Message

Denys Dmytriyenko May 8, 2023, 6:15 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

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 <rs@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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 \
+"