aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-03 09:07:37 -0600
committerSelene ToyKeeper2023-11-03 09:07:37 -0600
commitcf0ed5c4bd07e191088977722010e9eec94a7c05 (patch)
tree4c2e4156a74cf3a6f1bad1f1d4b5087bb74a9f32 /bin
parentfixed compile scripts and added a "./make" wrapper for convenience (diff)
downloadanduril-cf0ed5c4bd07e191088977722010e9eec94a7c05.tar.gz
anduril-cf0ed5c4bd07e191088977722010e9eec94a7c05.tar.bz2
anduril-cf0ed5c4bd07e191088977722010e9eec94a7c05.zip
moved variant builds under their parent, like "d4-219" -> "d4/219"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-all.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/build-all.sh b/bin/build-all.sh
index e3888fb..582ed87 100755
--- a/bin/build-all.sh
+++ b/bin/build-all.sh
@@ -25,18 +25,20 @@ FAILED=''
# build targets are hw/*/**/$UI.h
for TARGET in $( find hw/*/*/ -name "$UI".h ) ; do
+ # friendly name for this build
+ NAME=$(echo "$TARGET" | perl -ne 's|/|-|g; /hw-(.*)-'"$UI"'.h/ && print "$1\n";')
+
# limit builds to searched patterns, if given
SKIP=0
if [ ! -z "$SEARCH" ]; then
for text in $SEARCH ; do
- echo "$TARGET" | grep -i "$text" > /dev/null
+ echo "$NAME $TARGET" | grep -i "$text" > /dev/null
if [ 0 != $? ]; then SKIP=1 ; fi
done
fi
if [ 1 = $SKIP ]; then continue ; fi
- # friendly name for this build
- NAME=$(echo "$TARGET" | perl -ne 's|/|-|g; /hw-(.*)-'"$UI"'.h/ && print "$1\n";')
+ # announce what we're going to build
echo "===== $UI : $NAME ====="
# figure out MCU type
@@ -44,7 +46,6 @@ for TARGET in $( find hw/*/*/ -name "$UI".h ) ; do
#if [ -z "$ATTINY" ]; then ATTINY=85 ; fi
# try to compile
- #echo bin/build.sh "$UI" "$TARGET"
bin/build.sh "$TARGET"
# track result, and rename compiled files
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.