Adding new board support option
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Oct 20 13:27:02 UTC 2009
Peter Dufault wrote:
> On Oct 20, 2009, at 5:30 , Ralf Corsepius wrote:
>
>
>> However, you should really check, if you actually want an exported/
>> global define in bspopts.h or an AM_CONDITIONAL.
>>
>
> You are correct, I don't want either of them. I am now
> unconditionally adding the new network driver and I assume it will be
> resolved at link time by the BSP user.
>
You do need to make sure configure.ac and Makefile.am
turn it off if networking is disabled. Any BSP with a
NIC driver should be an example of this.
Since this isn't a required part of every executable,
building it anytime networking is enabled is OK unless
you find yourself needing to know you are running
on board A or board B which uses the same NIC but
has differences you can't detect at run-time.
If any of that makes sense. :-D
> Thanks -
>
> Peter
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list