add boards list to make error message

This commit is contained in:
Rose Hooper 2022-10-31 23:57:59 -04:00
parent 952812cdea
commit dec128f508
1 changed files with 1 additions and 1 deletions

View File

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