RT1050_FreeRTOS_Hello/build_all.sh

21 lines
264 B
Bash
Raw Normal View History

2021-02-03 17:44:12 +00:00
#!/bin/sh
TARGETS=(
"debug"
"release"
"sdram_debug"
"sdram_release"
"flexspi_nor_debug"
"flexspi_nor_release"
)
2021-02-03 17:44:12 +00:00
2021-02-08 14:37:11 +00:00
bash clean.sh
for TARGET in "${TARGETS[@]}" ; do
2021-02-08 14:37:11 +00:00
ENV=${TARGET} bash build.sh $@
RET=$?
if [[ ! 0 -eq ${RET} ]]; then
exit ${RET}
fi
done