diff options
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 983392c23a..3cd4a45bbe 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
@@ -540,10 +540,11 @@ fitimage_assemble() { | |||
540 | 540 | ||
541 | if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then | 541 | if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then |
542 | dtbcount=1 | 542 | dtbcount=1 |
543 | for DTB in $(find "${EXTERNAL_KERNEL_DEVICETREE}" \( -name '*.dtb' -o -name '*.dtbo' \) -printf '%P\n' | sort); do | 543 | for DTB in $(find "${EXTERNAL_KERNEL_DEVICETREE}" -name '*.dtb' -printf '%P\n' | sort) \ |
544 | $(find "${EXTERNAL_KERNEL_DEVICETREE}" -name '*.dtbo' -printf '%P\n' | sort); do | ||
544 | DTB=$(echo "$DTB" | tr '/' '_') | 545 | DTB=$(echo "$DTB" | tr '/' '_') |
545 | 546 | ||
546 | # Skip DTB if we've picked it up previously | 547 | # Skip DTB/DTBO if we've picked it up previously |
547 | echo "$DTBS" | tr ' ' '\n' | grep -xq "$DTB" && continue | 548 | echo "$DTBS" | tr ' ' '\n' | grep -xq "$DTB" && continue |
548 | 549 | ||
549 | DTBS="$DTBS $DTB" | 550 | DTBS="$DTBS $DTB" |