[RFC 5/5] scripts/carray: change to using single awk invocation to generate .c
Ben Dooks
ben.dooks at codethink.co.uk
Tue Dec 17 10:47:01 PST 2024
On 15/12/2024 08:24, Anup Patel wrote:
> On Mon, Dec 2, 2024 at 4:39 PM Ben Dooks <ben.dooks at codethink.co.uk> wrote:
>>
>> The shell script makes multiple call-outs to awk to get information
>> from the configuration file. It would be easier to just write the
>> whole thing in one .awk script and have the makefile altered to call
>> that instead.
>>
>> There should be no functional difference other than the script type
>> and has been tested with PLATFORM=generic build. This should be both
>> quicker and easier to understand.
>>
>> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
>
> I have taken care of my comment on this patch. I also tested it
> at my end.
>
> Applied this patch to the riscv/opensbi repo.
>
Great, thanks for sorting.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
https://www.codethink.co.uk/privacy.html
More information about the opensbi
mailing list