EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Building an Epics module only for a target (not host)
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Thu, 28 Feb 2013 11:04:36 -0600
Hi Michael,

On 2013-02-28 Michael Davidsaver wrote:
> 
> In addition to the  'PROD' variable you can also use 'PROD_$(OS_CLASS)'
> and 'PROD_$(ARCH)').  For example:
> 
> PROD_RTEMS = rtemsSpecificIoc
> 
> PROD_linux-x86 = reallySpecificIoc
> 
> Beware of the second form, it is very specific.  This example will not
> build for the debug target 'linux-x86-debug'.

Are you sure the second form actually exists in the rules?  I can't see where 
it is implemented, configure/CONFIG_ADDONS uses $(PROD_$(OS_CLASS)) but 
nothing looks at $(PROD_$(T_A)) that I can see.

Individual applications can (and some do) implement that with something like
  PROD += $(PROD_$(T_A))
but they have to do that explicitly.

- Andrew
-- 
There is no such thing as a free lunch.  When invited for lunch,
it is best to check if you are there to eat, or to be eaten.
-- Clive Robinson

Replies:
Re: Building an Epics module only for a target (not host) Michael Davidsaver
References:
Building an Epics module only for a target (not host) Florian Feldbauer
Re: Building an Epics module only for a target (not host) Michael Davidsaver

Navigate by Date:
Prev: RE: JCA Error Lucas José
Next: Re: Building an Epics module only for a target (not host) Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Building an Epics module only for a target (not host) Florian Feldbauer
Next: Re: Building an Epics module only for a target (not host) Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024