Copy a splash.bmp splash screen for u-boot to the SD card VFAT partition if one is found in the deploy dir

This commit is contained in:
Radoslav Kolev 2017-03-17 14:40:52 +02:00
parent 9bfe3ca1ad
commit 4b669303a3

View File

@ -90,6 +90,10 @@ IMAGE_CMD_sunxi-sdimg () {
then
mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/boot.scr ::boot.scr
fi
if [ -e "${DEPLOY_DIR_IMAGE}/splash.bmp" ]
then
mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/splash.bmp ::splash.bmp
fi
# Add stamp file