build: fix error message in case of missing site repository

This commit is contained in:
Matthias Schiffer 2017-02-22 22:40:36 +01:00
parent da7f69142f
commit f9aa784600
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -18,13 +18,11 @@ export GLUON_TMPDIR GLUON_IMAGEDIR GLUON_PACKAGEDIR DEVICES
$(GLUON_SITEDIR)/site.mk: $(GLUON_SITEDIR)/site.mk:
$(error No site configuration was found. Please check out a site configuration to $(GLUON_SITEDIR)) $(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 export GLUON_RELEASE GLUON_ATH10K_MESH GLUON_REGION GLUON_DEBUG