ardupilot/Tools/scripts/build_all.sh

36 lines
573 B
Bash
Raw Normal View History

#!/bin/bash
# useful script to test all the different build types that we support.
# This helps when doing large merges
# Andrew Tridgell, November 2011
. config.mk
set -e
set -x
export BUILDROOT="/tmp/all.build"
rm -rf $BUILDROOT
2017-05-08 23:07:03 -03:00
BOARDS="sitl linux"
2017-05-08 23:07:03 -03:00
for b in $BOARDS; do
echo "Testing $b build"
./waf configure --board $b
./waf clean
./waf
done
2017-02-24 19:25:50 -04:00
2017-05-08 23:07:03 -03:00
echo "Building Replay"
pushd Tools/Replay
make clean
make
popd
2017-05-08 23:07:03 -03:00
./Tools/scripts/build_all_px4.sh
test -n "$VRBRAIN_ROOT" && test -d "$VRBRAIN_ROOT" && {
./Tools/scripts/build_all_vrbrain.sh
}
exit 0