make: check if APPLICATION is set

Fixes #1282.
This commit is contained in:
Oleg Hahm 2016-03-08 21:07:44 +01:00
parent 49a7368c33
commit 8986b98281
1 changed files with 3 additions and 0 deletions

View File

@ -129,6 +129,9 @@ ifeq (,$(UNZIP_HERE))
endif
endif
ifeq (, ${APPLICATION})
$(error An application name must be specified as APPLICATION.)
endif
ifneq (0,$(shell test -d $(RIOTBOARD)/$(BOARD); echo $$?))
$(error The specified board $(BOARD) does not exist.)
endif