Skip to contentSkip to conversation

kernel-fitimage: include overlays with external dtb

PATCH In review Ricardo Salveti 2 participants 2 messages Jul 16, 2019 – Jul 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-fitimage: include overlays with external dtb

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

---
 meta/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-fitimage.bbclass +1 -1
index b51882dce4..17d4d85658 100644
@@ -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}"
Signature · 1 line
2.22.0
Acked-by Manjukumar Matha on v1 1/1
#1 lore raw

Hi Ricardo,

Quoted 11 lines

-----Original Message-----
From: Ricardo Salveti <[email protected]>
Sent: Tuesday, July 16, 2019 1:07 PM
To: [email protected]
Cc: Manjukumar Harthikote Matha <[email protected]>
Subject: [PATCH] kernel-fitimage: include overlays with external dtb

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

Thanks for the patch.

Quoted 20 lines
---
 meta/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel- renamed from meta/classes/kernel-fitimage.bbclass +0 -0

fitimage.bbclass
index b51882dce4..17d4d85658 100644

meta/classes/kernel-fitimage.bbclass +1 -2
@@ -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