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
<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:
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
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|