From 7b7c430bb5d5f21ca7b6ababceedf680513c32e4 Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Thu, 8 Feb 2018 16:00:52 +0100 Subject: [PATCH] HUBER: cleaning up configure/RELEASE In addition, the variables specified in configure/RELEASE can be overriden by the make call like this: make EPICS_ROOT=/home/scs/EPICS/EPICS This is now documented in the configure/RELEASE file. --- HUBER_COOLING/configure/RELEASE | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/HUBER_COOLING/configure/RELEASE b/HUBER_COOLING/configure/RELEASE index 80e3de2..2bc24ba 100644 --- a/HUBER_COOLING/configure/RELEASE +++ b/HUBER_COOLING/configure/RELEASE @@ -23,16 +23,21 @@ # the CONFIG_SITE file. # Variables and paths to dependent modules: -MODULES = /home/scs/EPICS/EPICS/modules/ -#MYMODULE = $(MODULES)/my-module -# If using the sequencer, point SNCSEQ at its top directory: -SNCSEQ = $(MODULES)/synApps_5_8/support/seq-2-2-1 -ASYN = $(MODULES)/synApps_5_8/support/asyn-4-26 -STREAM = $(MODULES)/synApps_5_8/support/stream-2-6a +MODULES = $(EPICS_ROOT)/modules -# EPICS_BASE should appear last so earlier modules can override stuff: -EPICS_BASE = /home/scs/EPICS/EPICS/base +SUPPORT=$(MODULES)/synApps_5_8/support + +SNCSEQ = $(SUPPORT)/seq-2-2-1 +ASYN = $(SUPPORT)/asyn-4-26 +STREAM = $(SUPPORT)/stream-2-6a + +EPICS_BASE = $(EPICS_ROOT)/base + +# EPICS_ROOT is an absolute path here. If you need a different one, you don't +# need to change it here, you can specify the right when when using make: +# make EPICS_ROOT=/your/override/here +EPICS_ROOT=/home/scs/EPICS/EPICS # Set RULES here if you want to use build rules from somewhere # other than EPICS_BASE: -- 2.43.0