Revert "kernel-fitImage: Strip path component from dtb"

This change breaks arm64 (and likely mips & riscv)

This reverts commit 9a42349a176ca4d7a1bfab3425a0821dbcbd9368.

(From OE-Core rev: b77cd331199fa62e3b162f37efca3b927c68d8e5)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Steve Sakoman
2023-12-14 03:59:12 -10:00
parent eadd5efcb3
commit 6f84c60edf

View File

@@ -542,11 +542,6 @@ fitimage_assemble() {
DTB_PATH="arch/${ARCH}/boot/$DTB"
fi
# Strip off the path component from the filename
if "${@'false' if oe.types.boolean(d.getVar('KERNEL_DTBVENDORED')) else 'true'}"; then
DTB=`basename $DTB`
fi
DTB=$(echo "$DTB" | tr '/' '_')
# Skip DTB if we've picked it up previously