mirror of https://github.com/ArduPilot/ardupilot
Plane: use new apm.mk
This commit is contained in:
parent
af647650c5
commit
07eed60ae4
|
@ -1,22 +1,4 @@
|
|||
|
||||
ifeq ($(APPDIR),)
|
||||
####################
|
||||
# AVR and SITL build
|
||||
include ../mk/Arduino.mk
|
||||
include ../mk/targets.mk
|
||||
include ../mk/apm.mk
|
||||
|
||||
sitl-newcontrollers: EXTRAFLAGS += "-DAPM_CONTROL=ENABLED "
|
||||
sitl-newcontrollers: sitl
|
||||
|
||||
else
|
||||
|
||||
####################
|
||||
# PX4 build
|
||||
APPNAME = ArduPlane
|
||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||
STACKSIZE = 4096
|
||||
|
||||
SKETCHBOOK=..
|
||||
include $(APPDIR)/mk/apm.mk
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue