ardupilot/Tools/scripts/build_all_px4.sh

41 lines
532 B
Bash
Raw Normal View History

#!/bin/bash
# build all targets for PX4
# This helps when doing large merges
# Andrew Tridgell, February 2013
. config.mk
set -e
set -x
git submodule init
git submodule update
2017-02-24 19:22:38 -04:00
for d in ArduPlane ArduCopter APMrover2 ArduSub; do
pushd $d
make px4-clean
popd
done
echo "Testing ArduPlane build"
pushd ArduPlane
make px4
popd
echo "Testing ArduCopter build"
pushd ArduCopter
make px4
popd
echo "Testing APMrover2 build"
pushd APMrover2
make px4
popd
2017-02-24 19:22:38 -04:00
echo "Testing ArduSub build"
pushd ArduSub
make px4
popd
exit 0