From f9aa784600bd14086d0e82bf1f4c7bbe83c259b0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 22 Feb 2017 22:40:36 +0100 Subject: [PATCH] build: fix error message in case of missing site repository --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index af233eff..fab156c5 100644 --- a/Makefile +++ b/Makefile @@ -18,13 +18,11 @@ export GLUON_TMPDIR GLUON_IMAGEDIR GLUON_PACKAGEDIR DEVICES $(GLUON_SITEDIR)/site.mk: $(error No site configuration was found. Please check out a site configuration to $(GLUON_SITEDIR)) --include $(GLUON_SITEDIR)/site.mk +include $(GLUON_SITEDIR)/site.mk -ifeq ($(GLUON_RELEASE),) -$(error GLUON_RELEASE not set. GLUON_RELEASE can be set in site.mk or on the command line.) -endif -GLUON_LANGS ?= en +GLUON_RELEASE ?= $(error GLUON_RELEASE not set. GLUON_RELEASE can be set in site.mk or on the command line) + export GLUON_RELEASE GLUON_ATH10K_MESH GLUON_REGION GLUON_DEBUG