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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Building an Epics module only for a target (not host) |
From: | Michael Davidsaver <[email protected]> |
To: | Andrew Johnson <[email protected]> |
Cc: | [email protected] |
Date: | Thu, 28 Feb 2013 12:09:27 -0500 |
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