aboutsummaryrefslogtreecommitdiff
path: root/bin/build-all.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-03 06:39:50 -0600
committerSelene ToyKeeper2023-11-03 06:39:50 -0600
commit8d022eba3b741bd2a1253df09c01d75e340b492a (patch)
tree84eb8c728de7fcdf1843fd8b6cfbf89d9233d176 /bin/build-all.sh
parentgot things to compile again, renamed #includes (diff)
downloadanduril-8d022eba3b741bd2a1253df09c01d75e340b492a.tar.gz
anduril-8d022eba3b741bd2a1253df09c01d75e340b492a.tar.bz2
anduril-8d022eba3b741bd2a1253df09c01d75e340b492a.zip
renamed cfg.h -> anduril.h so each UI can have its own cfg (part 1)
(still need to update file contents afterward, but doing it in a separate commit so git can detect renames easier)
Diffstat (limited to 'bin/build-all.sh')
-rwxr-xr-xbin/build-all.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-all.sh b/bin/build-all.sh
index c5bc19a..e91280a 100755
--- a/bin/build-all.sh
+++ b/bin/build-all.sh
@@ -19,7 +19,7 @@ FAIL=0
PASSED=''
FAILED=''
-for TARGET in hw/*/*/cfg.h ; do
+for TARGET in $(find hw/*/* -name "$UI".h) ; do
# maybe limit builds to a specific pattern
if [ ! -z "$SEARCH" ]; then
@@ -28,7 +28,7 @@ for TARGET in hw/*/*/cfg.h ; do
fi
# friendly name for this build
- NAME=$(echo "$TARGET" | perl -ne 's|/|-|g; /hw-(.*)-cfg.h/ && print "$1\n";')
+ NAME=$(echo "$TARGET" | perl -ne 's|/|-|g; /hw-(.*)-'"$UI"'.h/ && print "$1\n";')
echo "===== $NAME ====="
# figure out MCU type