From 3347f461f6b58a9a29058613d44b27d6872b6764 Mon Sep 17 00:00:00 2001
From: Andrew Tridgell <tridge@samba.org>
Date: Tue, 24 Apr 2012 10:46:22 +1000
Subject: [PATCH] use build_all.sh to ensure we don't break the mount code

---
 ArduPlane/Makefile         | 3 +++
 Tools/scripts/build_all.sh | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ArduPlane/Makefile b/ArduPlane/Makefile
index 04b4166c3..8f7c0a905 100644
--- a/ArduPlane/Makefile
+++ b/ArduPlane/Makefile
@@ -33,6 +33,9 @@ sitl:
 sitl-mavlink10:
 	make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10"
 
+sitl-mount:
+	make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMOUNT=ENABLED"
+
 sitl-quaternion:
 	make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DQUATERNION_ENABLE=ENABLED"
 
diff --git a/Tools/scripts/build_all.sh b/Tools/scripts/build_all.sh
index e32924b56..d246a8d9d 100755
--- a/Tools/scripts/build_all.sh
+++ b/Tools/scripts/build_all.sh
@@ -8,7 +8,7 @@ set -x
 
 echo "Testing ArduPlane build"
 pushd ArduPlane
-for b in all apm2 apm2beta hil hilsensors mavlink10 sitl; do
+for b in all apm2 apm2beta hil hilsensors mavlink10 sitl sitl-mavlink10 sitl-mount; do
     pwd
     make clean
     make $b
-- 
GitLab