aboutsummaryrefslogtreecommitdiff
path: root/bin/build-all.sh
diff options
context:
space:
mode:
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