2013-02-11 17:35:39 -04:00
|
|
|
#!/bin/bash
|
|
|
|
# build all targets for PX4
|
|
|
|
# This helps when doing large merges
|
|
|
|
# Andrew Tridgell, February 2013
|
|
|
|
|
2013-09-03 23:03:54 -03:00
|
|
|
. config.mk
|
|
|
|
|
2013-02-11 17:35:39 -04:00
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
2015-06-09 03:57:30 -03:00
|
|
|
git submodule init
|
2017-05-08 23:07:03 -03:00
|
|
|
git submodule update --recursive
|
2015-06-09 03:57:30 -03:00
|
|
|
|
2017-05-08 23:07:03 -03:00
|
|
|
builds="px4-v1 px4-v2 px4-v3 px4-v4"
|
2013-02-11 17:35:39 -04:00
|
|
|
|
2017-05-08 23:07:03 -03:00
|
|
|
for b in $builds; do
|
|
|
|
echo "Testing $b build"
|
|
|
|
./waf clean
|
|
|
|
./waf configure --board $b
|
|
|
|
./waf
|
|
|
|
done
|
2017-02-24 19:22:38 -04:00
|
|
|
|
2013-02-11 17:35:39 -04:00
|
|
|
exit 0
|