From 2660147596b9f52e54f8f098e0350ee4722c0f05 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 9 Nov 2014 15:00:56 +0100 Subject: [PATCH] Add support for GLUON_BRANCH and build manifest --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b63c6c0..8ca21d0 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,18 @@ JOBS ?= $(shell cat /proc/cpuinfo | grep processor | wc -l) _GIT_DESCRIBE = $(shell git describe --tags 2>&1) ifneq (,${_GIT_DESCRIBE}) GLUON_RELEASE := ${_GIT_DESCRIBE} + GLUON_BRANCH ?= stable +else + GLUON_BRANCH ?= nightly endif all: build build: gluon-prepare - (cd ${GLUON_BUILD_DIR} && make update && make -j ${JOBS}) + cd ${GLUON_BUILD_DIR} \ + && make update \ + && make -j ${JOBS} \ + && make manifest ${GLUON_BUILD_DIR}: git clone ${GLUON_GIT_URL} ${GLUON_BUILD_DIR}