EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: obscure EPICS+RTEMS makefile problem
From: Michael Davidsaver <[email protected]>
To: EPICS core-talk <[email protected]>, Andrew Johnson <[email protected]>
Date: Tue, 17 Apr 2018 18:44:28 -0700
I realized that both Base and RTEMS define a Make macro $(MKDIR).
Unfortunately the RTEMS definition lacks a '-p'.  So using this
to create eg '../O.Common/' will fail if it already exists.

> configure/os/CONFIG.UnixCommon.Common:MKDIR = mkdir -p

> make/host.cfg:MKDIR=mkdir

The later is included through configure/os/CONFIG.Common.RTEMS

This is being done to generate headers with module version numbers
in the PVA modules.  I'm wondering why I'm only finding this now?

My workaround:

> include $(TOP)/configure/CONFIG
> ...
> ifeq ($(OS_CLASS),RTEMS)
> MKDIR = mkdir -p
> endif


Replies:
Re: obscure EPICS+RTEMS makefile problem Johnson, Andrew N.

Navigate by Date:
Prev: CA get of zero length array Michael Davidsaver
Next: PVA links alpha Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CA get of zero length array Michael Davidsaver
Next: Re: obscure EPICS+RTEMS makefile problem Johnson, Andrew N.
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 18 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·