On 02/28/2013 12:04 PM, Andrew Johnson wrote:
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 was mis-remembering. The actual use was:
ifeq ($(T_A), linux-x86)
PROD += ...
endif
- 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
- Re: Building an Epics module only for a target (not host) Andrew Johnson
- Navigate by Date:
- Prev:
Re: Building an Epics module only for a target (not host) Andrew Johnson
- Next:
Strange Interaction between CA gateway and CAJ Carr, Gary
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
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) Andrew Johnson
- Next:
JCA Error Lucas José
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|