ardupilot/Tools/scripts/build_all_px4.sh

36 lines
466 B
Bash
Executable File

#!/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
for d in ArduPlane ArduCopter APMrover2; 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
exit 0