added mavlink09 targets

allows easier building with mavlink0.9
This commit is contained in:
Andrew Tridgell 2012-06-04 13:14:43 +10:00
parent 46d2341e45
commit 8d28cb51fc
2 changed files with 18 additions and 0 deletions

View File

@ -24,6 +24,9 @@ apm2:
apm2-mavlink10:
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=1"
apm2-mavlink09:
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=0"
apm2hexa:
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DFRAME_CONFIG=HEXA_FRAME"
@ -33,12 +36,18 @@ apm2beta:
mavlink10:
make -f Makefile EXTRAFLAGS="-DMAVLINK10=1"
mavlink09:
make -f Makefile EXTRAFLAGS="-DMAVLINK10=0"
sitl:
make -f ../libraries/Desktop/Makefile.desktop
sitl-mavlink10:
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=1"
sitl-mavlink09:
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=0"
sitl-octa:
make -f ../libraries/Desktop/Makefile.desktop octa

View File

@ -37,15 +37,24 @@ apm2beta:
apm2-mavlink10:
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=1"
apm2-mavlink09:
make -f Makefile EXTRAFLAGS="-DCONFIG_APM_HARDWARE=APM_HARDWARE_APM2 -DMAVLINK10=0"
mavlink10:
make -f Makefile EXTRAFLAGS="-DMAVLINK10=1"
mavlink09:
make -f Makefile EXTRAFLAGS="-DMAVLINK10=0"
sitl:
make -f ../libraries/Desktop/Makefile.desktop
sitl-mavlink10:
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=1"
sitl-mavlink09:
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10=0"
sitl-mount:
make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMOUNT=ENABLED"