mirror of https://github.com/ArduPilot/ardupilot
scripts: make build_examples.sh much faster
This commit is contained in:
parent
51fd0b3d55
commit
d65ace2e34
|
@ -6,7 +6,7 @@
|
|||
set -e
|
||||
set -x
|
||||
|
||||
targets="clean navio"
|
||||
targets="navio"
|
||||
|
||||
[ $# -gt 0 ] && {
|
||||
targets="$*"
|
||||
|
@ -16,6 +16,9 @@ export PATH=/usr/lib/ccache:$PATH
|
|||
|
||||
TESTS=$(find libraries -name 'Makefile' | grep -v FLYMAPLE | xargs -i dirname '{}')
|
||||
|
||||
export BUILDROOT="/tmp/examples.build"
|
||||
rm -rf $BUILDROOT
|
||||
|
||||
for b in $TESTS; do
|
||||
echo "TESTING $b"
|
||||
pushd $b
|
||||
|
|
Loading…
Reference in New Issue