From 40030893474b4e95f06e6e5487b42c74295c84d7 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sun, 23 Feb 2014 22:41:21 +0100
Subject: [PATCH] Allow setting GLUON_BUILDDIR and GLUON_IMAGEDIR manually

---
 include/gluon.mk | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/gluon.mk b/include/gluon.mk
index 8f2df1943..5fc862c9a 100644
--- a/include/gluon.mk
+++ b/include/gluon.mk
@@ -1,10 +1,11 @@
 ifneq ($(__gluon_inc),1)
 __gluon_inc=1
 
-GLUON_SITEDIR := $(GLUONDIR)/site
-GLUON_IMAGEDIR := $(GLUONDIR)/images
 GLUON_OPENWRTDIR := $(GLUONDIR)/openwrt
-GLUON_BUILDDIR := $(GLUONDIR)/build
+GLUON_SITEDIR := $(GLUONDIR)/site
+
+GLUON_IMAGEDIR ?= $(GLUONDIR)/images
+GLUON_BUILDDIR ?= $(GLUONDIR)/build
 
 BOARD_BUILDDIR = $(GLUON_BUILDDIR)/$(BOARD)
 BOARD_KDIR = $(BOARD_BUILDDIR)/kernel
-- 
GitLab