summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/kernel-fitimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass
index ce52297aec..67c98adb23 100644
--- a/meta/classes-recipe/kernel-fitimage.bbclass
+++ b/meta/classes-recipe/kernel-fitimage.bbclass
@@ -429,7 +429,7 @@ fitimage_emit_section_config() {
429 fi 429 fi
430 430
431 dtb_path="${EXTERNAL_KERNEL_DEVICETREE}/${dtb_image_sect}" 431 dtb_path="${EXTERNAL_KERNEL_DEVICETREE}/${dtb_image_sect}"
432 if [ -e "$dtb_path" ]; then 432 if [ -f "$dtb_path" ] || [ -L "$dtb_path" ]; then
433 compat=$(fdtget -t s "$dtb_path" / compatible | sed 's/ /", "/g') 433 compat=$(fdtget -t s "$dtb_path" / compatible | sed 's/ /", "/g')
434 if [ -n "$compat" ]; then 434 if [ -n "$compat" ]; then
435 compatible_line="compatible = \"$compat\";" 435 compatible_line="compatible = \"$compat\";"