scripts/mkimage: configure extlinux for valid uboot_helper dtb

This commit is contained in:
Jonas Karlman 2020-01-08 23:14:54 +00:00
parent 3f06a76a4e
commit 5045ba2274

View File

@ -216,8 +216,8 @@ elif [ "${BOOTLOADER}" = "u-boot" -a -n "${UBOOT_SYSTEM}" ]; then
# create bootloader configuration
echo "image: creating bootloader configuration..."
if [ "${UBOOT_SYSTEM}" != "box" ]; then
DTB="$(${SCRIPTS}/uboot_helper ${PROJECT} ${DEVICE} ${UBOOT_SYSTEM} dtb)"
DTB="$(${SCRIPTS}/uboot_helper ${PROJECT} ${DEVICE} ${UBOOT_SYSTEM} dtb)"
if [ -n "${DTB}" ]; then
if [ -f "${RELEASE_DIR}/3rdparty/bootloader/${DTB}" ]; then
mcopy "${RELEASE_DIR}/3rdparty/bootloader/${DTB}" ::