fw: make build script return with error code so it can be scripted

This commit is contained in:
David Lenfesty 2023-04-22 17:41:51 -06:00
parent a864da5354
commit 833db12d58

View File

@ -1,4 +1,9 @@
#!/usr/bin/sh
DEFMT_LOG=trace cargo build --release
if [ $? -ne 0 ]
then
exit $?
fi
riscv64-unknown-elf-objcopy -S -O binary target/riscv32i-unknown-none-elf/release/fw fw.bin