[PATCH 07/12] bsps: Avoid line continuation in Makefile.am
Chris Johns
chrisj at rtems.org
Thu Apr 12 05:10:38 UTC 2018
On 12/04/2018 14:58, Sebastian Huber wrote:
> On 11/04/18 23:09, Chris Johns wrote:
>> Is it a requirement for Makefile.am we avoid line continuation?
>
> For the source moves in the BSP tree I need Makefile.am which are friendly for
> automatic modification. The line continuation makes this a little bit more
> difficult.
I use the class at the top of this file to make bulk changes these days:
https://ftp.rtems.org/pub/rtems/people/chrisj/test-am-convert
I used it for the preinstall work and now the testsuite change. It handles line
continuation, insert, delete, you can find something and then do a range of
edits. The script took me to within a few % of the completing the testsuite
task, the mp_tests I did by hand.
>
>>
>> I had a choice and wrapped lines in the testsuites and without any guidelines I
>> choose a more compact format. It was easy to do with python's textwrap module.
>>
>> At some point I think it would be good to collect together what we want to do
>> with Makefile.am files as some form of a coding standard. I have some things
>> that might go in like conditionals ..
>>
>> https://lists.rtems.org/pipermail/devel/2018-April/020889.html
>
> I think we should focus on waf guidelines. The Makefile.am are a dead man walking.
>
Agreed.
Chris
More information about the devel
mailing list