ardupilot/Tools/scripts/build_all.sh

39 lines
636 B
Bash
Executable File

#!/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
BOARDS="sitl linux"
for b in $BOARDS; do
echo "Testing $b build"
./waf configure --board $b
./waf clean
./waf
done
echo "Building Replay"
pushd Tools/Replay
make clean
make
popd
./Tools/scripts/build_all_px4.sh
test -n "$VRBRAIN_ROOT" && test -d "$VRBRAIN_ROOT" && {
./Tools/scripts/build_all_vrbrain.sh
}
echo "Testing configure all"
./Tools/scripts/configure_all.py
exit 0