aboutsummaryrefslogtreecommitdiff
path: root/ui/fireflies-ui/build-all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ui/fireflies-ui/build-all.sh')
-rwxr-xr-xui/fireflies-ui/build-all.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/fireflies-ui/build-all.sh b/ui/fireflies-ui/build-all.sh
new file mode 100755
index 0000000..81ebd97
--- /dev/null
+++ b/ui/fireflies-ui/build-all.sh
@@ -0,0 +1,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