You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
506 B
25 lines
506 B
# find the mk/ directory, which is where this makefile fragment |
|
# lives. (patsubst strips the trailing slash.) |
|
MK_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) |
|
|
|
# APPDIR is defined for the PX4 build only |
|
ifeq ($(APPDIR),) |
|
|
|
#################### |
|
# AVR and SITL build |
|
|
|
|
|
include $(MK_DIR)/Arduino.mk |
|
include $(MK_DIR)/targets.mk |
|
|
|
else |
|
|
|
#################### |
|
# PX4 build |
|
|
|
include $(MK_DIR)/px4_core.mk |
|
|
|
endif |
|
|
|
# these targets need to be outside the APPDIR if above |
|
include $(MK_DIR)/px4_targets.mk
|
|
|