[OE-core] [PATCH] kernel-fitimage: include overlays with external dtb

Ricardo Salveti ricardo at foundries.io
Tue Jul 16 20:06:40 UTC 2019


As done with the default dtb provider, create fit image sections for
normal device-tree files and device-tree overlays (.dtbo).

Signed-off-by: Ricardo Salveti <ricardo at foundries.io>
---
 meta/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index b51882dce4..17d4d85658 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -406,7 +406,7 @@ fitimage_assemble() {
 
 	if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then
 		dtbcount=1
-		for DTBFILE in ${EXTERNAL_KERNEL_DEVICETREE}/*.dtb; do
+		for DTBFILE in ${EXTERNAL_KERNEL_DEVICETREE}/*.dtb*; do
 			DTB=`basename ${DTBFILE}`
 			DTB=$(echo "${DTB}" | tr '/' '_')
 			DTBS="${DTBS} ${DTB}"
-- 
2.22.0



More information about the Openembedded-core mailing list