From b4155426905fa663ca55fa478e4cf6eeee9208b7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Oct 2011 20:50:59 +1100 Subject: [PATCH] desktop: added Makefile.desktop --- libraries/Desktop/Makefile.desktop | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libraries/Desktop/Makefile.desktop diff --git a/libraries/Desktop/Makefile.desktop b/libraries/Desktop/Makefile.desktop new file mode 100644 index 0000000000..e8b390726b --- /dev/null +++ b/libraries/Desktop/Makefile.desktop @@ -0,0 +1,21 @@ +DESKTOP=$(PWD)/../libraries/Desktop + +include ../libraries/Desktop/Desktop.mk + +default: + make -f $(DESKTOP)/Makefile.desktop + +nologging: + make -f $(DESKTOP)/Makefile.desktop EXTRAFLAGS="-DLOGGING_ENABLED=DISABLED" + +nogps: + make -f $(DESKTOP)/Makefile.desktop EXTRAFLAGS="-DGPS_PROTOCOL=GPS_PROTOCOL_NONE -DLOGGING_ENABLED=DISABLED" + +hil: + make -f $(DESKTOP)/Makefile.desktop EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE -DCLI_ENABLED=DISABLED -DLOGGING_ENABLED=DISABLED" + +hilnocli: + make -f $(DESKTOP)/Makefile.desktop EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE -DCLI_ENABLED=DISABLED -DLOGGING_ENABLED=DISABLED" + +heli: + make -f $(DESKTOP)/Makefile.desktop EXTRAFLAGS="-DFRAME_CONFIG=HELI_FRAME"