Skip to content

Commit

Permalink
build: fix error message in case of missing site repository
Browse files Browse the repository at this point in the history
  • Loading branch information
neocturne committed Feb 22, 2017
1 parent da7f691 commit f9aa784
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f9aa784

Please sign in to comment.