mkimage: copy overlays for u-boot images

This commit is contained in:
Jernej Skrabec 2020-12-24 17:59:27 +01:00
parent bc5bc703c3
commit bbd9f80240

View File

@ -219,6 +219,10 @@ elif [ "${BOOTLOADER}" = "u-boot" -a -n "${UBOOT_SYSTEM}" ]; then
mcopy "${RELEASE_DIR}/3rdparty/bootloader/${DTB}" ::
fi
if [ -d "${RELEASE_DIR}/3rdparty/bootloader/overlays" ]; then
mcopy -s "${RELEASE_DIR}/3rdparty/bootloader/overlays" ::
fi
mkdir -p "${LE_TMP}/extlinux"
cat << EOF > "${LE_TMP}/extlinux/extlinux.conf"