[PATCH rtems-tools] rtemstoolkit: add override option for rtems_version

Chris Johns chrisj at rtems.org
Sun Apr 5 02:47:30 UTC 2020


On 2020-04-05 11:28, Gedare Bloom wrote:
> On Sat, Apr 4, 2020 at 4:28 PM Gedare Bloom <gedare at rtems.org> wrote:
>>
>> On Sat, Apr 4, 2020 at 4:25 PM Vijay Kumar Banerjee
>> <vijaykumar9597 at gmail.com> wrote:
>>>
>>>
>>>
>>> On Sun, Apr 5, 2020, 3:45 AM Gedare Bloom <gedare at rtems.org> wrote:
>>>>
>>>> Use in tester to allow defining custom rtems_version
>>>> to use in tools.
>>>>
>>>> Closes #3671.
>>>
>>>
>>> Looks like someone else was also chasing this bug with a similar approach ;)
>>> https://lists.rtems.org/pipermail/devel/2020-April/059001.html
>>>
>> Yeah, we could have collaborated on IRC! :)
>>
>> Am discussing briefly the approaches taken with Chris.
>>
> 
> After IRC discussion, we think the approach should be a little more
> rigorous. An idea to pursue is to provide a way to align the ini/cfg
> files to be able to use the triplet in rtems-tool. This would be both
> more flexible but also should be more easily checked for correctness.
> It will require probably rewriting the 25 or so cfg/ini files that use
> the %rtems_version macro, and eliminate the macro.

Yes, I think a way to update or set macros via the INI files. I think 
this needs to wait until after RTEMS 5 has been branched.

I would at macro maps and then a way to have INI files create and update 
macro maps. This lets you layer specialised versions.

Chris


More information about the devel mailing list