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.
|
# Select the board to build for.
|
||||||
ifeq ($(BOARD),)
|
ifeq ($(BOARD),)
|
||||||
$(error You must provide a BOARD parameter)
|
$(error You must provide a BOARD parameter: $(basename $(wildcard boards/*)))
|
||||||
else
|
else
|
||||||
ifeq ($(wildcard boards/$(BOARD)/.),)
|
ifeq ($(wildcard boards/$(BOARD)/.),)
|
||||||
$(error Invalid BOARD specified)
|
$(error Invalid BOARD specified)
|
||||||
|
|
Loading…
Reference in New Issue