diff options
-rw-r--r-- | meta/classes-recipe/kernel-fitimage.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass index 7980910aa8..92e236a0a4 100644 --- a/meta/classes-recipe/kernel-fitimage.bbclass +++ b/meta/classes-recipe/kernel-fitimage.bbclass | |||
@@ -590,8 +590,9 @@ fitimage_assemble() { | |||
590 | 590 | ||
591 | if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then | 591 | if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then |
592 | dtbcount=1 | 592 | dtbcount=1 |
593 | for DTB in $(find "${EXTERNAL_KERNEL_DEVICETREE}" \( -name '*.dtb' -o -name '*.dtbo' \) -printf '%P\n' | sort); do | 593 | for DTB in $(find "${EXTERNAL_KERNEL_DEVICETREE}" -name '*.dtb' -printf '%P\n' | sort) \ |
594 | # Skip DTB if we've picked it up previously | 594 | $(find "${EXTERNAL_KERNEL_DEVICETREE}" -name '*.dtbo' -printf '%P\n' | sort); do |
595 | # Skip DTB/DTBO if we've picked it up previously | ||
595 | echo "$DTBS" | tr ' ' '\n' | grep -xq "$DTB" && continue | 596 | echo "$DTBS" | tr ' ' '\n' | grep -xq "$DTB" && continue |
596 | 597 | ||
597 | DTBS="$DTBS $DTB" | 598 | DTBS="$DTBS $DTB" |