Skip to content
Snippets Groups Projects
Commit 18bf9529 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

make: check for board existence

parent 20067567
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,10 @@ ifeq (,$(UNZIP_HERE))
endif
endif
ifneq (0,$(shell test -d $(RIOTBOARD)/$(BOARD); echo $$?))
$(error The specified board $(BOARD) does not exist.)
endif
# mandatory includes!
include $(RIOTBASE)/Makefile.modules
include $(RIOTBOARD)/$(BOARD)/Makefile.include
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment