diff --git a/Makefile.include b/Makefile.include index b78e27219fa8324847266bd851021399fc93db7c..951b6e96bc4db8147cf6c917779459517b3c0d1b 100644 --- a/Makefile.include +++ b/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