Browse Source

make: check for board existence

dev/timer
Oleg Hahm 8 years ago
parent
commit
18bf9529f2
  1. 4
      Makefile.include

4
Makefile.include

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

Loading…
Cancel
Save