Require board to be set
This commit is contained in:
parent
ad746e2a87
commit
31eca35b40
10
Makefile
10
Makefile
@ -1,9 +1,9 @@
|
||||
# Parameter for current board
|
||||
#BOARD?=system76/galp3-c
|
||||
BOARD?=system76/lemp9
|
||||
#BOARD?=arduino/mega2560
|
||||
#BOARD?=arduino/micro
|
||||
#BOARD?=arduino/uno
|
||||
ifeq ($(BOARD),)
|
||||
$(info $(shell echo Please set BOARD to one of the following))
|
||||
$(info $(shell cd src/board && echo */*))
|
||||
$(error BOARD not set)
|
||||
endif
|
||||
|
||||
# Set build directory
|
||||
BUILD=build/$(BOARD)
|
||||
|
Loading…
x
Reference in New Issue
Block a user