add boards list to make error message
This commit is contained in:
parent
952812cdea
commit
dec128f508
|
@ -24,7 +24,7 @@
|
|||
|
||||
# Select the board to build for.
|
||||
ifeq ($(BOARD),)
|
||||
$(error You must provide a BOARD parameter)
|
||||
$(error You must provide a BOARD parameter: $(basename $(wildcard boards/*)))
|
||||
else
|
||||
ifeq ($(wildcard boards/$(BOARD)/.),)
|
||||
$(error Invalid BOARD specified)
|
||||
|
|
Loading…
Reference in New Issue