summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-fitimage.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
-rw-r--r--meta/classes/kernel-fitimage.bbclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index ec18a3d699..d1b8cdc1f0 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -391,11 +391,10 @@ fitimage_assemble() {
391 391
392 if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then 392 if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then
393 dtbcount=1 393 dtbcount=1
394 for DTBFILE in ${EXTERNAL_KERNEL_DEVICETREE}/*.dtb; do 394 for DTB in $(find "${EXTERNAL_KERNEL_DEVICETREE}" \( -name '*.dtb' -o -name '*.dtbo' \) -printf '%P\n'); do
395 DTB=`basename ${DTBFILE}`
396 DTB=$(echo "${DTB}" | tr '/' '_') 395 DTB=$(echo "${DTB}" | tr '/' '_')
397 DTBS="${DTBS} ${DTB}" 396 DTBS="${DTBS} ${DTB}"
398 fitimage_emit_section_dtb ${1} ${DTB} ${DTBFILE} 397 fitimage_emit_section_dtb ${1} ${DTB} "${EXTERNAL_KERNEL_DEVICETREE}/${DTB}"
399 done 398 done
400 fi 399 fi
401 400