mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
build: added ERLE build type
This commit is contained in:
parent
74ee70d463
commit
0b6c810a6e
@ -38,6 +38,10 @@ ifeq ($(HAL_BOARD),HAL_BOARD_LINUX)
|
||||
include $(MK_DIR)/board_linux.mk
|
||||
endif
|
||||
|
||||
ifeq ($(HAL_BOARD),HAL_BOARD_ERLE)
|
||||
include $(MK_DIR)/board_linux.mk
|
||||
endif
|
||||
|
||||
ifeq ($(HAL_BOARD),HAL_BOARD_PX4)
|
||||
include $(MK_DIR)/board_px4.mk
|
||||
endif
|
||||
|
@ -138,6 +138,10 @@ ifneq ($(findstring linux, $(MAKECMDGOALS)),)
|
||||
HAL_BOARD = HAL_BOARD_LINUX
|
||||
endif
|
||||
|
||||
ifneq ($(findstring erle, $(MAKECMDGOALS)),)
|
||||
HAL_BOARD = HAL_BOARD_ERLE
|
||||
endif
|
||||
|
||||
ifneq ($(findstring vrbrain, $(MAKECMDGOALS)),)
|
||||
HAL_BOARD = HAL_BOARD_VRBRAIN
|
||||
endif
|
||||
|
@ -27,6 +27,10 @@ linux: HAL_BOARD = HAL_BOARD_LINUX
|
||||
linux: TOOLCHAIN = NATIVE
|
||||
linux: all
|
||||
|
||||
erle: HAL_BOARD = HAL_BOARD_ERLE
|
||||
erle: TOOLCHAIN = NATIVE
|
||||
erle: all
|
||||
|
||||
empty: HAL_BOARD = HAL_BOARD_EMPTY
|
||||
empty: TOOLCHAIN = AVR
|
||||
empty: all
|
||||
@ -40,7 +44,7 @@ empty: all
|
||||
|
||||
# cope with copter and hil targets
|
||||
FRAMES = quad tri hexa y6 octa octa-quad heli single
|
||||
BOARDS = apm1 apm2 apm2beta apm1-1280 px4 px4-v1 px4-v2 sitl flymaple linux vrbrain vrbrain-v40 vrbrain-v45 vrbrainv-50 vrbrain-v51 vrubrain-v51 vrhero-v10
|
||||
BOARDS = apm1 apm2 apm2beta apm1-1280 px4 px4-v1 px4-v2 sitl flymaple linux vrbrain vrbrain-v40 vrbrain-v45 vrbrainv-50 vrbrain-v51 vrubrain-v51 vrhero-v10 erle
|
||||
|
||||
define frame_template
|
||||
$(1)-$(2) : EXTRAFLAGS += "-DFRAME_CONFIG=$(shell echo $(2) | tr a-z A-Z | sed s/-/_/g)_FRAME "
|
||||
|
Loading…
Reference in New Issue
Block a user