diff options
| author | Selene ToyKeeper | 2018-12-18 15:08:05 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-12-18 15:08:05 -0700 |
| commit | a1713978973d478a974387c52f6e00190d4a274c (patch) | |
| tree | d5e5989026a87036610f404d2cd87b3805d4655b /spaghetti-monster/werner/build-all.sh | |
| parent | merged updates from fsm branch (diff) | |
| parent | merged include-fix branch, cleans up how include files / config files get pul... (diff) | |
| download | anduril-a1713978973d478a974387c52f6e00190d4a274c.tar.gz anduril-a1713978973d478a974387c52f6e00190d4a274c.tar.bz2 anduril-a1713978973d478a974387c52f6e00190d4a274c.zip | |
merged include-fix branch for cleaner config file mechanisms
Diffstat (limited to 'spaghetti-monster/werner/build-all.sh')
| -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 |
