Re: [PATCH 1/1] Skip building dtc if a prebuilt binary is specified via DTC=

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/11/24 18:46, Rob Herring wrote:
> On Fri, Oct 11, 2024 at 9:05 AM Jes Sorensen <jes.sorensen@xxxxxxxxx> wrote:
>>
>> From: Jes Sorensen <jes@xxxxxxxxxxxxxxxxxx>
>>
>> For Android it is common to use a prebuilt dtc, speficied via DTC=. In
>> this case building dtc as part of the kernel is not necessary, and even
>> unwanted to avoid mix and match between two different versions of dtc.
>>
>> Signed-off-by: Jes Sorensen <jes@xxxxxxxxxxxxxxxxxx>
>> ---
>>  scripts/dtc/Makefile | 3 +++
>>  1 file changed, 3 insertions(+)
> 
> Well, this one is much simpler than a prior attempt[1] and may be
> acceptable. But I wonder if something is not handled here.
> 
> I think lack of external fdtoverlay support makes this incomplete.

So I was thinking about that. The only places I see in the tree that
reference fdtoverlay are scripts/make_fit.py, scripts/Makefile.dtbs, and
scripts/dtc/Makefile. I don't see anything calling make_fit.py.

We can either exclude fdtoverlay from this, or assume that if one
explicitly sets prebuilts, fdtoverlay is there too.

Thoughts?

Thanks,
Jes





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux