build: fix for HAL_SITL rename

This commit is contained in:
Andrew Tridgell 2015-05-04 16:18:15 +10:00
parent 212e0ec002
commit 4ad3075754
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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