From e49eef558849247d9784fe9a46640d3e63f12b73 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Fri, 26 Sep 2025 22:59:20 +1200 Subject: [PATCH] allow building multiple specific targets at same time --- build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f48205ed..79690b54 100755 --- a/build.sh +++ b/build.sh @@ -143,8 +143,11 @@ mkdir -p out # handle script args if [[ $1 == "build-firmware" ]]; then - if [ "$2" ]; then - build_firmware $2 + TARGETS=${@:2} + if [ "$TARGETS" ]; then + for env in $TARGETS; do + build_firmware $env + done else echo "usage: $0 build-firmware " exit 1