VRBRAIN / environ: added vrcore (VR Core 1.0) and removed vrhero (not used)

This commit is contained in:
LukeMike 2016-07-05 17:52:26 +02:00 committed by Andrew Tridgell
parent 024d3311b3
commit 810f4bd44c

View File

@ -99,8 +99,8 @@ ifneq ($(findstring vrubrain, $(MAKECMDGOALS)),)
BUILDROOT := $(SKETCHBOOK)/Build.$(SKETCH)
endif
ifneq ($(findstring vrhero, $(MAKECMDGOALS)),)
# when building vrbrain we need all sources to be inside the sketchbook directory
ifneq ($(findstring vrcore, $(MAKECMDGOALS)),)
# when building vrcore we need all sources to be inside the sketchbook directory
# as the NuttX build system relies on it
BUILDROOT := $(SKETCHBOOK)/Build.$(SKETCH)
endif
@ -206,7 +206,7 @@ HAL_BOARD = HAL_BOARD_VRBRAIN
HAL_BOARD_SUBTYPE = HAL_BOARD_SUBTYPE_NONE
endif
ifneq ($(findstring vrhero, $(MAKECMDGOALS)),)
ifneq ($(findstring vrcore, $(MAKECMDGOALS)),)
HAL_BOARD = HAL_BOARD_VRBRAIN
HAL_BOARD_SUBTYPE = HAL_BOARD_SUBTYPE_NONE
endif