diff options
-rw-r--r-- | meta/classes-recipe/kernel-fitimage.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass index 13e8947f09..7e30a5d47e 100644 --- a/meta/classes-recipe/kernel-fitimage.bbclass +++ b/meta/classes-recipe/kernel-fitimage.bbclass | |||
@@ -599,6 +599,11 @@ fitimage_assemble() { | |||
599 | DTB_PATH="${KERNEL_OUTPUT_DIR}/$DTB" | 599 | DTB_PATH="${KERNEL_OUTPUT_DIR}/$DTB" |
600 | fi | 600 | fi |
601 | 601 | ||
602 | # Strip off the path component from the filename | ||
603 | if "${@'false' if oe.types.boolean(d.getVar('KERNEL_DTBVENDORED')) else 'true'}"; then | ||
604 | DTB=`basename $DTB` | ||
605 | fi | ||
606 | |||
602 | # Set the default dtb image if it exists in the devicetree. | 607 | # Set the default dtb image if it exists in the devicetree. |
603 | if [ ${FIT_CONF_DEFAULT_DTB} = $DTB ];then | 608 | if [ ${FIT_CONF_DEFAULT_DTB} = $DTB ];then |
604 | default_dtb_image=$(echo "$DTB" | tr '/' '_') | 609 | default_dtb_image=$(echo "$DTB" | tr '/' '_') |