script tweaks

This commit is contained in:
Matthew Kennedy 2023-08-26 11:28:25 -07:00
parent f8c500f916
commit 6394894828
1 changed files with 2 additions and 6 deletions

View File

@ -36,10 +36,6 @@ $HEX2DFU -i build/fome.hex -C 0x1C -o build/fome.dfu
if [ "$USE_OPENBLT" = "yes" ]; then
# this image is suitable for update through bootloader only
# do not deliver update images in any format that can confuse users
#cp build/fome.bin deliver/fome_update.bin
#cp build/fome.dfu deliver/fome_update.dfu
#cp build/fome.hex deliver/fome_update.hex
# srec is the only format used by OpenBLT host tools
cp build/fome.srec deliver/fome_update.srec
else
@ -51,14 +47,14 @@ fi
# bootloader and composite image
if [ "$USE_OPENBLT" = "yes" ]; then
rm -f deliver/openblt.dfu
rm -f deliver/fome_bl.dfu
echo "$SCRIPT_NAME: invoking hex2dfu for OpenBLT"
$HEX2DFU -i bootloader/blbuild/fome_bl.hex -o bootloader/blbuild/fome_bl.dfu
# do we need all these formats?
cp bootloader/blbuild/fome_bl.bin deliver/fome_bl.bin
cp bootloader/blbuild/fome_bl.dfu deliver/fome_bl.dfu
#cp build-openblt/fome_bl.hex deliver/fome_bl.hex
#cp bootloader/blbuild/fome_bl.hex deliver/fome_bl.hex
rm -f deliver/fome_openblt.dfu
echo "$SCRIPT_NAME: invoking hex2dfu for composite rusEFI+OpenBLT image"