Build: removed APM2 build for copter

no longer supported
This commit is contained in:
Andrew Tridgell 2015-03-13 11:36:54 +11:00
parent a942ebbb70
commit 472a50f9c2
2 changed files with 1 additions and 21 deletions

View File

@ -19,7 +19,7 @@ popd
echo "Testing ArduCopter build"
pushd ArduCopter
for b in all apm2 apm1-hil apm2-hil sitl apm2-heli linux; do
for b in all sitl linux; do
pwd
make clean
make $b -j4

View File

@ -176,26 +176,6 @@ build_arducopter() {
echo "Building ArduCopter $tag binaries from $(pwd)"
pushd ArduCopter
frames="quad tri hexa y6 octa octa-quad heli"
for b in apm1 apm2; do
checkout ArduCopter $tag $b || {
echo "Failed checkout of ArduCopter $b $tag"
error_count=$((error_count+1))
continue
}
for f in $frames quad-hil heli-hil; do
echo "Building ArduCopter $b-$f binaries"
ddir="$binaries/Copter/$hdate/$b-$f"
skip_build $tag $ddir && continue
make clean || continue
make "$b-$f" -j4 || {
echo "Failed build of ArduCopter $b $tag"
error_count=$((error_count+1))
continue
}
copyit $TMPDIR/ArduCopter.build/ArduCopter.hex "$ddir" "$tag"
touch $binaries/Copter/$tag
done
done
test -n "$PX4_ROOT" && {
checkout ArduCopter $tag PX4 || {
echo "Failed checkout of ArduCopter PX4 $tag"