aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fireflies-ui/build-all.sh
blob: 81ebd97b87e78286fd0ff3a109764185305d8d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

cp -av --no-clobber ../anduril/cfg-ff*.h .

UI=fireflies-ui

for TARGET in cfg-*.h ; do
  NAME=$(echo "$TARGET" | perl -ne '/cfg-(.*).h/ && print "$1\n";')
  echo "===== $NAME ====="
  echo ../../../bin/build.sh 85 "$UI" "-DCONFIGFILE=${TARGET}"
  ../../../bin/build.sh 85 "$UI" "-DCONFIGFILE=${TARGET}"
  mv -f "$UI".hex "$UI".$NAME.hex
done