ardupilot/Tools/scripts/build_all_px4.sh

24 lines
359 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
2017-05-08 23:07:03 -03:00
git submodule update --recursive
2017-07-15 02:12:39 -03:00
builds="px4-v1 px4-v2 px4-v3 px4-v4 px4-v4pro"
2017-05-08 23:07:03 -03:00
for b in $builds; do
echo "Testing $b build"
./waf clean
./waf configure --board $b
./waf
done
2017-02-24 19:22:38 -04:00
exit 0