g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: User Created File Types: FILE TYPE += ABC [EPICS R3-14-12]
From: "Ernest L. Williams Jr." <ernesto@slac.stanford.edu>
To: Janet Anderson <jba@aps.anl.gov>
Cc: "Shankar, Murali" <mshankar@slac.stanford.edu>, EPICS Techtalk <tech-talk@aps.anl.gov>
Date: Tue, 30 Oct 2012 08:51:58 -0700
Hi Janet,

How is it going?

For IOC Application deployment; I would like to take advantage of the $(INSTALL LOCATION).
The only problem is that IOC Startup files do not get installed along with other products such as databases, libraries, etc...

So, I tried to do something like the following:

In my  $IOC_APP_TOP/iocBoot/<iocName>

Create CONFIG_STARTUP:
============
CONFIG_STARTUP ========================
FILE_TYPE +=  STARTUP
INSTALL_EDL = $(INSTALL_LOCATION)/ioc/vioc-b34-cd39
=====================================================

Add to Makefile:

==========
Makefile =====================================
TOP = ../..
include $(TOP)/configure/CONFIG
# =====================================================
# Config for installing IOC startup related files:
# =====================================================

CFG +=  CONFIG_STARTUP

ARCH = linuxRT-x86
TARGETS = envPaths
INSTALL_STARTUP += envPaths rtPrioritySetup.cmd st.cmd
include $(TOP)/configure/RULES
include $(TOP)/configure/RULES.ioc
# =====================================================


The above does not work.

[ernesto@cdlx01 vioc-b34-cd39]$ make
/afs/slac/g/lcls/epics/base/base-R3-14-12/configure/RULES_DIRS:72: *** target file `clean' has both : and :: entries.  Stop.


Can you recommend a way to achieve this in the context of the EPICS Make/Build system?

Cheers,
Ernest





Replies:
Re: User Created File Types: FILE TYPE += ABC [EPICS R3-14-12] Ralph Lange

Navigate by Date:
Prev: Re: CSR/CR questions Bjorklund, Eric A
Next: Re: waveform record: how its VAL get data? any potential memory leak? ... Jack Smith
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: Re: CSR/CR questions Bjorklund, Eric A
Next: Re: User Created File Types: FILE TYPE += ABC [EPICS R3-14-12] Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·