Require board to be set

This commit is contained in:
Jeremy Soller 2020-02-06 13:06:13 -07:00
parent ad746e2a87
commit 31eca35b40
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

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