summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/kernel-devicetree.bbclass
diff options
context:
space:
mode:
authorRandolph Sapp <rs@ti.com>2023-05-22 15:46:12 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-25 10:29:09 +0100
commit63a7ae21cc6d0c9c7f880220e9e3d9acea6f204e (patch)
treea5416b4973201c6d50b036e0a6e38197dc4d3069 /meta/classes-recipe/kernel-devicetree.bbclass
parent2f68c2d72741fc0067578848d67495140a187da3 (diff)
downloadpoky-63a7ae21cc6d0c9c7f880220e9e3d9acea6f204e.tar.gz
kernel-devicetree: recursively search for dtbs
Upstream's dtb directory structure has no real standard. They just tend to idle around the 2/3 directory depth. Recursively search for the dtb/dtbo files instead of assuming anything. Fixes: 04ab57d200 (kernel-devicetree: allow specification of dtb directory, 2023-05-02) (From OE-Core rev: 81570ba93eb282fd4566077d3b7b9ddf8c303002) Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/kernel-devicetree.bbclass')
-rw-r--r--meta/classes-recipe/kernel-devicetree.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes-recipe/kernel-devicetree.bbclass b/meta/classes-recipe/kernel-devicetree.bbclass
index 831fdd1527..b3bae32f9e 100644
--- a/meta/classes-recipe/kernel-devicetree.bbclass
+++ b/meta/classes-recipe/kernel-devicetree.bbclass
@@ -12,12 +12,12 @@ python () {
12 d.appendVar("PACKAGES", " ${KERNEL_PACKAGE_NAME}-image-zimage-bundle") 12 d.appendVar("PACKAGES", " ${KERNEL_PACKAGE_NAME}-image-zimage-bundle")
13} 13}
14 14
15# recursivly search for devicetree files
15FILES:${KERNEL_PACKAGE_NAME}-devicetree = " \ 16FILES:${KERNEL_PACKAGE_NAME}-devicetree = " \
16 /${KERNEL_DTBDEST}/*.dtb \ 17 /${KERNEL_DTBDEST}/**/*.dtb \
17 /${KERNEL_DTBDEST}/*.dtbo \ 18 /${KERNEL_DTBDEST}/**/*.dtbo \
18 /${KERNEL_DTBDEST}/*/*.dtb \
19 /${KERNEL_DTBDEST}/*/*.dtbo \
20" 19"
20
21FILES:${KERNEL_PACKAGE_NAME}-image-zimage-bundle = "/${KERNEL_IMAGEDEST}/zImage-*.dtb.bin" 21FILES:${KERNEL_PACKAGE_NAME}-image-zimage-bundle = "/${KERNEL_IMAGEDEST}/zImage-*.dtb.bin"
22 22
23# Generate kernel+devicetree bundle 23# Generate kernel+devicetree bundle