diff options
| author | Selene ToyKeeper | 2018-12-18 14:59:40 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-12-18 14:59:40 -0700 |
| commit | f144b83fbbd2c6a36600ed27291d0816543df34b (patch) | |
| tree | 37e043ec7a083ddbfbffb35844279318afc6dddb /spaghetti-monster/werner/build-all.sh | |
| parent | Reworked the config file include system so it'll include the #defined value (diff) | |
| download | anduril-f144b83fbbd2c6a36600ed27291d0816543df34b.tar.gz anduril-f144b83fbbd2c6a36600ed27291d0816543df34b.tar.bz2 anduril-f144b83fbbd2c6a36600ed27291d0816543df34b.zip | |
Updated the rest of the FSM interfaces to use the new config file system.
Diffstat (limited to '')
| -rwxr-xr-x | spaghetti-monster/werner/build-all.sh | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/spaghetti-monster/werner/build-all.sh b/spaghetti-monster/werner/build-all.sh index 43879bb..87d4f0d 100755 --- a/spaghetti-monster/werner/build-all.sh +++ b/spaghetti-monster/werner/build-all.sh @@ -4,16 +4,10 @@ cp -av ../anduril/cfg*.h . UI=werner -for TARGET in \ - BLF_GT \ - BLF_Q8 \ - EMISAR_D1 \ - EMISAR_D1S \ - EMISAR_D4 \ - EMISAR_D4S \ - FW3A \ - ; do - echo "===== $TARGET =====" - ../../../bin/build.sh 85 "$UI" "-DFSM_${TARGET}_DRIVER" - mv -f "$UI".hex "$UI".$TARGET.hex +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 |
