2013-02-11 17:35:39 -04:00
|
|
|
#!/bin/bash
|
|
|
|
# build all targets for PX4
|
|
|
|
# This helps when doing large merges
|
|
|
|
# Andrew Tridgell, February 2013
|
|
|
|
|
2013-09-03 23:03:54 -03:00
|
|
|
. config.mk
|
|
|
|
|
2013-02-11 17:35:39 -04:00
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
2015-06-09 03:57:30 -03:00
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
|
2013-10-09 23:43:56 -03:00
|
|
|
for d in ArduPlane ArduCopter APMrover2; do
|
|
|
|
pushd $d
|
|
|
|
make px4-clean
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
2013-02-11 17:35:39 -04:00
|
|
|
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
|