mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
scripts: added build_all.sh
this is useful when testing merge work
This commit is contained in:
parent
7467bf649c
commit
d4e9ad650b
25
Tools/scripts/build_all.sh
Executable file
25
Tools/scripts/build_all.sh
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# useful script to test all the different build types that we support.
|
||||||
|
# This helps when doing large merges
|
||||||
|
# Andrew Tridgell, November 2011
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
pushd ArduPlane
|
||||||
|
for b in all apm2 hil hilsensors; do
|
||||||
|
pwd
|
||||||
|
make clean
|
||||||
|
make $b
|
||||||
|
done
|
||||||
|
make -f ../libraries/Desktop/Makefile.desktop clean all
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd ArduCopter
|
||||||
|
for b in all apm2 hil; do
|
||||||
|
pwd
|
||||||
|
make clean
|
||||||
|
make $b
|
||||||
|
done
|
||||||
|
make -f ../libraries/Desktop/Makefile.desktop clean all
|
||||||
|
popd
|
Loading…
Reference in New Issue
Block a user