mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
23 lines
363 B
Makefile
23 lines
363 B
Makefile
|
|
ifeq ($(APPDIR),)
|
|
####################
|
|
# AVR and SITL build
|
|
include ../mk/Arduino.mk
|
|
include ../mk/targets.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
|