Set default GLUON_RELEASE to `git describe` of site repo

This considerably eases compilation and might even make the build.sh unnecessary
This commit is contained in:
Jan-Philipp Litza 2016-12-04 13:07:00 +01:00
parent 22b3d6a098
commit 3818c6edaa
1 changed files with 3 additions and 4 deletions

View File

@ -30,10 +30,9 @@ GLUON_SITE_PACKAGES := \
firewall \
haveged
DEFAULT_GLUON_PRIORITY := 0
# Allow overriding the release number and languages from the command line
GLUON_PRIORITY ?= $(DEFAULT_GLUON_PRIORITY)
# Allow overriding the these variables from the command line
GLUON_RELEASE ?= $(patsubst v%,%,$(shell git -C $(GLUON_SITEDIR) describe --tags --dirty=+))
GLUON_PRIORITY ?= 0
GLUON_LANGS ?= en de
GLUON_REGION ?= eu
GLUON_ATH10K_MESH ?= ibss