From f22ea63f66b02297e5a1e66b1d90ebc356bc5eeb Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Mon, 8 May 2023 18:15:51 +0000 Subject: [PATCH] linux-bb.org: also package DT overlays in separate dir 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 Signed-off-by: Denys Dmytriyenko Signed-off-by: Ryan Eatmon --- 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 \ +"