Browse Source

make: check if APPLICATION is set

Fixes #1282.
pr/gpio
Oleg Hahm 7 years ago
parent
commit
8986b98281
  1. 3
      Makefile.include

3
Makefile.include

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

Loading…
Cancel
Save