2014-04-08 08:27:53 -03:00
|
|
|
#!/bin/bash
|
|
|
|
# build all targets for PX4
|
|
|
|
# This helps when doing large merges
|
|
|
|
# Andrew Tridgell, February 2013
|
|
|
|
|
|
|
|
. config.mk
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
2017-02-24 19:25:50 -04:00
|
|
|
for d in ArduPlane ArduCopter APMrover2 ArduSub; do
|
2014-04-08 08:27:53 -03:00
|
|
|
pushd $d
|
|
|
|
make vrbrain-clean
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
|
|
|
echo "Testing ArduPlane build"
|
|
|
|
pushd ArduPlane
|
|
|
|
make vrbrain
|
|
|
|
popd
|
|
|
|
|
|
|
|
echo "Testing ArduCopter build"
|
|
|
|
pushd ArduCopter
|
|
|
|
make vrbrain
|
|
|
|
popd
|
|
|
|
|
|
|
|
echo "Testing APMrover2 build"
|
|
|
|
pushd APMrover2
|
|
|
|
make vrbrain
|
|
|
|
popd
|
|
|
|
|
2017-02-24 19:25:50 -04:00
|
|
|
echo "Testing ArduSub build"
|
|
|
|
pushd ArduSub
|
|
|
|
make vrbrain
|
|
|
|
popd
|
|
|
|
|
2014-04-08 08:27:53 -03:00
|
|
|
exit 0
|