From c38fdf2f02a4315d2161c905a35c5b524d05961d Mon Sep 17 00:00:00 2001
From: Jeong Han Lee <jeonghan.lee@gmail.com>
Date: Thu, 19 Oct 2017 16:27:40 +0200
Subject: [PATCH] fixed undefine module name when we don't setup it

---
 configure/CONFIG | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/configure/CONFIG b/configure/CONFIG
index 21811b7e..e565b545 100644
--- a/configure/CONFIG
+++ b/configure/CONFIG
@@ -2,8 +2,12 @@
 # The EPICS community MODULE name. 
 # For example, https://github.com/epics-module/devlib2
 # devlib2 is EPICS_MODULE_NAME
+#
+# We have to use hard-coded require name, which we have to sync with
+# e3-env REQUIRE
 # 
-EPICS_MODULE_NAME:=$(REQUIRE)
+EPICS_MODULE_NAME:=require
+
 
 # (EPICS) EPICS_MODULE_TAG
 # The EPICS community tag number, which we would like to install
@@ -32,7 +36,7 @@ export EPICS_MODULE_SRC_PATH:=$(EPICS_MODULE_NAME)
 # should be maintained according to main repository evolving.
 # some export variables in CONFIG file 
 # in order to build and install for EEE
-ESS_MODULE_MAKEFILE:=$(EPICS_MODULE_NAME).Makefile
+export ESS_MODULE_MAKEFILE:=$(EPICS_MODULE_NAME).Makefile
 
 # (EEE) PROJECT 
 # it is the jargon of EEE, the EEE generic makefile uses it
-- 
GitLab