<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 21, 2021, 5:49 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 22/7/21 8:35 am, Joel Sherrill wrote:<br>
> On Wed, Jul 21, 2021 at 2:10 PM Sebastian Huber<br>
> <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank" rel="noreferrer">sebastian.huber@embedded-brains.de</a>> wrote:<br>
>><br>
>> On 21/07/2021 21:05, Gedare Bloom wrote:<br>
>>>>> The problem is that one BSP which supports SMP "riscv/griscv" is identical to<br>
>>>>> the family "riscv/griscv" which contains BSPs which do not support SMP<br>
>>>>> ("riscv/grv32i" and riscv/grv32im").<br>
>>>> Hmm, tricky. Can the BSPs that do not support SMP disable SMP in the BSP<br>
>>>> specific config, ie override/specialise in the BSP?<br>
>>>><br>
>>> Or, can we avoid having duplication between BSP names and family names?<br>
>><br>
>> Yes, good idea. We could use a "family/" prefix for example<br>
>> ("family/<arch>/<bsp-family-name>").<br>
<br>
Great idea.<br>
<br>
> Ideally we would never have a family and BSP variant have the same name.<br>
> But that rule is violated multiple times now.<br>
<br>
Yeap.<br>
<br>
> I am not sure where your triple is intended to be used but we have used<br>
> the pattern arch/BSP which is really <arch>/<bsp_variant> as the<br>
> full name of BSPs.<br>
> <br>
> If we want to step that further, we could do something similar to the<br>
> GNU target triple where the middle component is a rarely used vendor.<br>
> <arch>/<bsp_family>/<bsp_variant>.<br>
<br>
I think we are to late for this because the spec file format follows what I did<br>
in the eco-system and I would prefer we maintained a single unified way of doing<br>
this than changing it.<br>
<br>
> In recent history, there was an issue of BSP variant names needing to<br>
> be unique across all architectures. This may also need to apply to bsp<br>
> family names.<br>
<br>
What about "bsps/<family>". This means you have:<br>
<br>
powerpc/mvme2307<br>
bsps/motorola_powerpc<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Is the first line is our BSP formal naming pattern and the second is how families are named, that should be ok.</div><div dir="auto"><br></div><div dir="auto">Rules for uniqueness apply.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
It is simple and clean.<br>
<br>
Chris<br>
</blockquote></div></div></div>