diff --git a/scripts/mkimage b/scripts/mkimage index 9a9f291a71..04b0e2cd1c 100755 --- a/scripts/mkimage +++ b/scripts/mkimage @@ -212,11 +212,11 @@ EOF mcopy -s "${RELEASE_DIR}/3rdparty/bootloader/overlays" :: fi -elif [ "${BOOTLOADER}" = "u-boot" -a \( -n "${UBOOT_SYSTEM}" -o "${UBOOT_VERSION}" = "vendor" \) ]; then +elif [ "${BOOTLOADER}" = "u-boot" -a -n "${UBOOT_SYSTEM}" ]; then # create bootloader configuration echo "image: creating bootloader configuration..." - if [ "${UBOOT_VERSION}" != "vendor" ]; then + if [ "${UBOOT_SYSTEM}" != "box" ]; then DTB="$(${SCRIPTS}/uboot_helper ${PROJECT} ${DEVICE} ${UBOOT_SYSTEM} dtb)" if [ -f "${RELEASE_DIR}/3rdparty/bootloader/${DTB}" ]; then