Re: [PATCH 1/1] of: unittest: rename overlay source files from .dts to .dtso

Frank Rowand
2021-03-29T19:23:36Z

On 3/27/21 12:40 PM, Rob Herring wrote:
> On Wed, Mar 24, 2021 at 05:37:13PM -0500, frowand.list@gmail.com wrote:
>> From: Frank Rowand <frank.rowand@sony.com>
>>
>> Add Makefile rule to build .dtbo.o assembly file from overlay .dtso
>> source file.
>>
>> Rename unittest .dts overlay source files to use .dtso suffix.
>
> I'm pretty lukewarm on .dtso...

I was originally also, but I'm warming up to it.

>
>>
>> Update Makefile to build .dtbo.o objects instead of .dtb.o from
>> unittest overlay source files.
>>
>> Modify unitest.c to use .dtbo.o based symbols instead of .dtb.o
>>
>> Modify Makefile.lib %.dtbo rule to depend upon %.dtso instead of %.dts
>>
>> Documentation/devicetree/of_unittest.rst was already out of date.
>> This commit would make it even more out of date. Delete the document
>> instead of continuing the maintenance burden of keeping the document
>> in sync with the source.
>
> This should be a separate change. It's also going to collide with my doc
> improvements.

I'll split it out.

>
> Improvements here would be better than just deleting.

OK, I'll make the document more abstract so that code
changes will be less likely to require document changes.

-Frank