From 6553e428c080fa4c404e4f3ad0f5834deb5d33f8 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 9 Aug 2016 12:38:40 -0300 Subject: [PATCH] Tools: build_binaries: add navio/navio2 to antennatracker --- Tools/scripts/build_binaries.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Tools/scripts/build_binaries.sh b/Tools/scripts/build_binaries.sh index e39a630dff..3a224fdcec 100755 --- a/Tools/scripts/build_binaries.sh +++ b/Tools/scripts/build_binaries.sh @@ -390,6 +390,26 @@ build_antennatracker() { copyit $BUILDROOT/AntennaTracker.$extension $ddir $tag touch $binaries/AntennaTracker/$tag done + popd + for b in navio navio2; do + checkout AntennaTracker $tag $b "" || { + echo "Failed checkout of AntennaTracker $b $tag" + error_count=$((error_count+1)) + continue + } + skip_board_waf $b && continue + echo "Building AntennaTracker $b binaries" + ddir=$binaries/AntennaTracker/$hdate/$b + skip_build $tag $ddir && continue + waf configure --board $b --out $BUILDROOT clean antennatracker || { + echo "Failed build of AntennaTracker $b $tag" + error_count=$((error_count+1)) + continue + } + copyit $BUILDROOT/$b/bin/antennatracker $ddir $tag + touch $binaries/AntennaTracker/$tag + done + pushd AntennaTracker echo "Building AntennaTracker PX4 binaries" ddir=$binaries/AntennaTracker/$hdate/PX4 checkout AntennaTracker $tag PX4 "" || {