libchip question

Till Straumann strauman at SLAC.Stanford.EDU
Wed Apr 17 19:10:36 UTC 2002


Joel Sherrill wrote:

> 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) Makefile.am 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/*/Makefile.am can use VPATH magic to
> get it.
>

Thanks - that's certainly a possibility. I'll do that...

-- Till

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