1 parent a405892 commit df4469fCopy full SHA for df4469f
1 file changed
ports/atmel-samd/Makefile
@@ -4,9 +4,12 @@ PYTHON3 ?= python3
4
5
# Select the board to build for: if not given on the command line,
6
# then default to PYBV10.
7
-BOARD ?= metro_m0_express
8
-ifeq ($(wildcard boards/$(BOARD)/.),)
9
-$(error Invalid BOARD specified)
+ifeq ($(BOARD),)
+ $(error You must provide a BOARD parameter)
+else
10
+ ifeq ($(wildcard boards/$(BOARD)/.),)
11
+ $(error Invalid BOARD specified)
12
+ endif
13
endif
14
15
0 commit comments