diff --git a/ArduPlane/Makefile b/ArduPlane/Makefile index 5dac8637f9..f8f715bb1a 100644 --- a/ArduPlane/Makefile +++ b/ArduPlane/Makefile @@ -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