build: fix for HAL_SITL rename
This commit is contained in:
parent
212e0ec002
commit
4ad3075754
@ -36,7 +36,7 @@ ifeq ($(HAL_BOARD),HAL_BOARD_APM2)
|
||||
include $(MK_DIR)/board_avr.mk
|
||||
endif
|
||||
|
||||
ifeq ($(HAL_BOARD),HAL_BOARD_AVR_SITL)
|
||||
ifeq ($(HAL_BOARD),HAL_BOARD_SITL)
|
||||
include $(MK_DIR)/board_native.mk
|
||||
endif
|
||||
|
||||
|
@ -131,7 +131,7 @@ HAL_BOARD = HAL_BOARD_PX4
|
||||
endif
|
||||
|
||||
ifneq ($(findstring sitl, $(MAKECMDGOALS)),)
|
||||
HAL_BOARD = HAL_BOARD_AVR_SITL
|
||||
HAL_BOARD = HAL_BOARD_SITL
|
||||
HAL_BOARD_SUBTYPE = HAL_BOARD_SUBTYPE_NONE
|
||||
endif
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
default: all
|
||||
|
||||
# convenient targets for our supported boards
|
||||
sitl: HAL_BOARD = HAL_BOARD_AVR_SITL
|
||||
sitl: HAL_BOARD = HAL_BOARD_SITL
|
||||
sitl: TOOLCHAIN = NATIVE
|
||||
sitl: all
|
||||
|
||||
sitl-arm: HAL_BOARD = HAL_BOARD_AVR_SITL
|
||||
sitl-arm: HAL_BOARD = HAL_BOARD_SITL
|
||||
sitl-arm: TOOLCHAIN = RPI
|
||||
sitl-arm: all
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user