From bebf16b80402440782be7f24e24bbf7dfa6a1c23 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Dec 2016 10:34:57 +1100 Subject: [PATCH] Tools: added FMUv3 to autobuild --- Tools/scripts/build_binaries.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Tools/scripts/build_binaries.sh b/Tools/scripts/build_binaries.sh index e838d3390c..e2ea1e8805 100755 --- a/Tools/scripts/build_binaries.sh +++ b/Tools/scripts/build_binaries.sh @@ -263,7 +263,7 @@ build_arduplane() { return } skip_build $tag $ddir || { - for v in v1 v2 v4; do + for v in v1 v2 v3 v4; do make px4-clean make px4-$v -j2 || { echo "Failed build of ArduPlane PX4 $tag for $v" @@ -275,6 +275,7 @@ build_arduplane() { done copyit ArduPlane-v1.px4 $ddir $tag && copyit ArduPlane-v2.px4 $ddir $tag && + test ! -f ArduPlane-v3.px4 || copyit ArduPlane-v3.px4 $ddir $tag && test ! -f ArduPlane-v4.px4 || copyit ArduPlane-v4.px4 $ddir $tag if [ "$tag" = "latest" ]; then copyit px4io-v1.bin $binaries/PX4IO/$hdate/PX4IO $tag @@ -327,7 +328,7 @@ build_arducopter() { echo "Building ArduCopter PX4-$f binaries" ddir="$binaries/Copter/$hdate/PX4-$f" skip_build $tag $ddir && continue - for v in v1 v2 v4; do + for v in v1 v2 v3 v4; do make px4-clean make px4-$v-$f -j2 || { echo "Failed build of ArduCopter PX4 $tag for $v" @@ -337,6 +338,7 @@ build_arducopter() { done copyit ArduCopter-v1.px4 $ddir $tag && copyit ArduCopter-v2.px4 $ddir $tag && + test ! -f ArduCopter-v3.px4 || copyit ArduCopter-v3.px4 $ddir $tag && test ! -f ArduCopter-v4.px4 || copyit ArduCopter-v4.px4 $ddir $tag done checkout ArduCopter "latest" "" "" @@ -388,7 +390,7 @@ build_rover() { return } skip_build $tag $ddir || { - for v in v1 v2 v4; do + for v in v1 v2 v3 v4; do make px4-clean make px4-$v -j2 || { echo "Failed build of APMrover2 PX4 $tag" @@ -400,6 +402,7 @@ build_rover() { done copyit APMrover2-v1.px4 $binaries/Rover/$hdate/PX4 $tag && copyit APMrover2-v2.px4 $binaries/Rover/$hdate/PX4 $tag && + test ! -f APMrover2-v3.px4 || copyit APMrover2-v3.px4 $binaries/Rover/$hdate/PX4 $tag && test ! -f APMrover2-v4.px4 || copyit APMrover2-v4.px4 $binaries/Rover/$hdate/PX4 $tag } checkout APMrover2 "latest" "" "" @@ -454,7 +457,7 @@ build_antennatracker() { return } skip_build $tag $ddir || { - for v in v1 v2 v4; do + for v in v1 v2 v3 v4; do make px4-clean make px4-$v -j2 || { echo "Failed build of AntennaTracker PX4 $tag" @@ -466,6 +469,7 @@ build_antennatracker() { done copyit AntennaTracker-v1.px4 $binaries/AntennaTracker/$hdate/PX4 $tag && copyit AntennaTracker-v2.px4 $binaries/AntennaTracker/$hdate/PX4 $tag && + test ! -f AntennaTracker-v3.px4 || copyit AntennaTracker-v3.px4 $binaries/AntennaTracker/$hdate/PX4 $tag && test ! -f AntennaTracker-v4.px4 || copyit AntennaTracker-v4.px4 $binaries/AntennaTracker/$hdate/PX4 $tag } checkout AntennaTracker "latest" "" ""