[PATCH rtems-libbsd v3 1/4] Implement portable kernel symbol namespace tool

Chris Johns chrisj at rtems.org
Thu Jul 29 00:01:45 UTC 2021


On 29/7/21 12:27 am, Gedare Bloom wrote:
> On Wed, Jul 28, 2021 at 12:50 AM Chris Johns <chrisj at rtems.org> wrote:
>>
>> On 28/7/21 4:38 pm, Sebastian Huber wrote:
>>> On 28/07/2021 04:53, chrisj at rtems.org wrote:
>>>> +        for sym in self.output['symbols']:
>>>> +            out += ['#define %s_bsd_%s' % (sym, sym)]
>>>
>>> If you add a tab after the #define, then the output is in line with the FreeBSD
>>> style and you have a lot less changes in the generated file compared to the
>>> previous script.
>>
>> You have lost me on the FreeBSD style so I am moving on.
>>
> I think the suggestion is to use
> out += ['#define\t%s_bsd_%s' % (sym, sym)]

Yes. I was not aware there was a coding standard at work in rtemsbsd. I add this
to the list.

Chris


More information about the devel mailing list