added build makefiles

This commit is contained in:
Andrew Tridgell 2011-10-10 07:18:38 +11:00
parent 67630d42e7
commit ed2bec75b9
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,19 @@
include ../libraries/Desktop/Desktop.mk
default:
make -f Makefile.desktop
nologging:
make -f Makefile.desktop EXTRAFLAGS="-DLOGGING_ENABLED=DISABLED"
nogps:
make -f Makefile.desktop EXTRAFLAGS="-DGPS_PROTOCOL=GPS_PROTOCOL_NONE -DLOGGING_ENABLED=DISABLED"
hil:
make -f Makefile.desktop EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE -DCLI_ENABLED=DISABLED -DLOGGING_ENABLED=DISABLED"
hilnocli:
make -f Makefile.desktop EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE -DCLI_ENABLED=DISABLED -DLOGGING_ENABLED=DISABLED"
heli:
make -f Makefile.desktop EXTRAFLAGS="-DFRAME_CONFIG=HELI_FRAME"

View File

@ -0,0 +1,19 @@
include ../libraries/Desktop/Desktop.mk
default:
make -f Makefile.desktop
nologging:
make -f Makefile.desktop EXTRAFLAGS="-DLOGGING_ENABLED=DISABLED"
nogps:
make -f Makefile.desktop EXTRAFLAGS="-DGPS_PROTOCOL=GPS_PROTOCOL_NONE -DLOGGING_ENABLED=DISABLED"
hil:
make -f Makefile.desktop EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE -DCLI_ENABLED=DISABLED -DLOGGING_ENABLED=DISABLED"
hilnocli:
make -f Makefile.desktop EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE -DCLI_ENABLED=DISABLED -DLOGGING_ENABLED=DISABLED"
heli:
make -f Makefile.desktop EXTRAFLAGS="-DFRAME_CONFIG=HELI_FRAME"