From 8986b982819189c33a9178b6943104acebdc0953 Mon Sep 17 00:00:00 2001
From: Oleg Hahm <oleg@hobbykeller.org>
Date: Tue, 8 Mar 2016 21:07:44 +0100
Subject: [PATCH] make: check if APPLICATION is set

Fixes #1282.
---
 Makefile.include | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.include b/Makefile.include
index 5c642bd378..ad2a7f29ab 100644
--- a/Makefile.include
+++ b/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
-- 
GitLab