libchip question

Joel Sherrill joel.sherrill at
Wed Apr 17 17:58:20 UTC 2002

Till Straumann wrote:
> Hi.
> I have a driver (for the Tundra Universe VME-PCI bridge) which
> I'd like to contribute to libchip, so different BSPs can use it.
> However, not all BSPs offer the necessary subsystems
> (essentially IRQ and PCI services) needed by my vmeUniverse.c
> How can I tell a libchip's (subdir) it should
> include/exclude files
> from the build based on the BSP that is being built?

I would be prone to recommend that the code be placed in 
libbsp/shared with a README explaining the BSP requirements.
Then libbsp/CPU/BSP/*/ can use VPATH magic to
get it.

> regards
> -- Till.

Joel Sherrill, Ph.D.             Director of Research & Development
joel at                 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