Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: how to prevent ioc app from being built for both target and host?
From: Marty Kraimer <mrk@aps.anl.gov>
To: "M.C.Shao" <ShaoMingchao97@mails.tsinghua.edu.cn>
Cc: Tech-talk <tech-talk@aps.anl.gov>
Date: Mon, 14 Apr 2003 07:27:29 -0500
M.C.Shao wrote:
> hi, all,
> I am building a rtems application with some hardware device/driver support. And the host arch is linux-x86,while the target is rtems-pc386.
> I must invoke rtems APIs in my device support, so I have to include header files of rtems in my device support source, such as "#include <rtems.h>". Then some codes in the device support are target arch related. But the Makefile created by "makeBaseApp.pl" are still trying to build the application for both host(linux-x86) and target(rtems-pc386). 
> How to turn off this feature of the building system?
> thanks.
>  
> 


Add a _rtems at the end of whatever you are building.
For example

PROC_IOC_RTEMS += myProd

or

xxx_SRCS_RTEMS += devXXX.c

Marty Kraimer



References:
how to prevent ioc app from being built for both target and host? M.C.Shao

Navigate by Date:
Prev: NI1014 GPIB controller Marty Kraimer
Next: recDynLink.c for R3.14.1 ? Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: how to prevent ioc app from being built for both target and host? M.C.Shao
Next: Re: how to prevent ioc app from being built for both target and host? Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·