RTEMS_BSP_FAMILIY?

Chris Johns chrisj at rtems.org
Wed Jan 3 09:36:28 UTC 2018


> On 3 Jan 2018, at 2:44 am, Joel Sherrill <joel at rtems.org> wrote:
> 
> 
> 
> On Jan 2, 2018 8:58 AM, "Sebastian Huber" <sebastian.huber at embedded-brains.de> wrote:
> Hello,
> 
> some BSPs use this:
> 
> c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg:RTEMS_BSP_FAMILY=mcf5225x
> c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg:RTEMS_BSP_FAMILY=mvme5500
> c/src/lib/libbsp/powerpc/beatnik/make/custom/beatnik.cfg:RTEMS_BSP_FAMILY=beatnik
> c/src/lib/libbsp/sparc64/usiii/make/custom/usiii.cfg:RTEMS_BSP_FAMILY=usiii
> c/src/lib/libbsp/sparc64/niagara/make/custom/niagara.cfg:RTEMS_BSP_FAMILY=niagara
> 
> There is a one-to-one relationship between this RTEMS_BSP_FAMILY and the BSP directory containing this *.cfg file. What this the purpose of this stuff? Can we remove it?
> 
> It shouldn't be used anymore. I think it was used by the old m4 logic that found BSPs.
> 
> It is still a useful concept but no use to the build system.

The BSP family is used in the no-preinstall build to find the linkcmds files. Setting it in the .cfg file seems dangerous and I think should be removed. 

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180103/d3b0b7b4/attachment-0002.html>


More information about the devel mailing list