1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

make: check for board existence

This commit is contained in:
Oleg Hahm 2015-02-22 21:11:30 +01:00
parent 20067567d1
commit 18bf9529f2

View File

@ -91,6 +91,10 @@ ifeq (,$(UNZIP_HERE))
endif endif
endif endif
ifneq (0,$(shell test -d $(RIOTBOARD)/$(BOARD); echo $$?))
$(error The specified board $(BOARD) does not exist.)
endif
# mandatory includes! # mandatory includes!
include $(RIOTBASE)/Makefile.modules include $(RIOTBASE)/Makefile.modules
include $(RIOTBOARD)/$(BOARD)/Makefile.include include $(RIOTBOARD)/$(BOARD)/Makefile.include