mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Build: removed APM2 build for copter
no longer supported
This commit is contained in:
parent
a942ebbb70
commit
472a50f9c2
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user