diff options
| author | Selene ToyKeeper | 2023-11-10 14:52:41 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-11-10 14:52:41 -0700 |
| commit | cd77624256328b1924c49158b08f9d8c454fb637 (patch) | |
| tree | 86ce4c98bc2ef5361a295c2f7736e7572cac74e9 /bin/build-all.sh | |
| parent | added a Makefile, so either `make` or `./make` can be used for most tasks (diff) | |
| download | anduril-cd77624256328b1924c49158b08f9d8c454fb637.tar.gz anduril-cd77624256328b1924c49158b08f9d8c454fb637.tar.bz2 anduril-cd77624256328b1924c49158b08f9d8c454fb637.zip | |
added md5sum to build-all.sh output per target
(to make it easier to detect when builds did or didn't change)
Diffstat (limited to 'bin/build-all.sh')
| -rwxr-xr-x | bin/build-all.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/build-all.sh b/bin/build-all.sh index 130923f..df72ad5 100755 --- a/bin/build-all.sh +++ b/bin/build-all.sh @@ -52,8 +52,11 @@ for TARGET in hw/*/*/**/"$UI".h ; do # try to compile, track result, and rename compiled files if bin/build.sh "$TARGET" ; then - mv -f "ui/$UI/$UI".hex "hex/$UI.$NAME.hex" - echo " > hex/$UI.$NAME.hex" + HEX_OUT="hex/$UI.$NAME.hex" + mv -f "ui/$UI/$UI".hex "$HEX_OUT" + MD5=$(md5sum "$HEX_OUT" | cut -d ' ' -f 1) + echo " # $MD5" + echo " > $HEX_OUT" PASS=$((PASS + 1)) PASSED="$PASSED $NAME" else |
