[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQzG5ty=knL4eh=8w43p57BGMf6mRMTR1rPrhdFoKs7YA@mail.gmail.com>
Date: Tue, 30 Jun 2020 10:51:34 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Rob Herring <robh+dt@...nel.org>
Cc: DTML <devicetree@...r.kernel.org>,
Frank Rowand <frowand.list@...il.com>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Michal Marek <michal.lkml@...kovi.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/4] dt-bindings: split DT schema check rules
On Tue, Jun 30, 2020 at 5:50 AM Rob Herring <robh+dt@...nel.org> wrote:
>
> On Thu, Jun 25, 2020 at 11:05 AM Masahiro Yamada <masahiroy@...nel.org> wrote:
> >
> > When building %.dt.yaml from %.dts, two things happen in a row:
> >
> > [1] Run DTC to convert %.dts into %.dt.yaml
> >
> > [2] Run dt-validate against %.dt.yaml
> >
> > Currently, when any .yaml schema file is updated, processed-schema.yaml
> > is regenerated, then both [1] and [2] are rerun for all .dts files.
> >
> > Actually, we do not need to rerun [1] since the original .dts is not
> > updated.
>
> I have plans (and an intern working on it) to integrate the schema
> checks into dtc. That's going to make turning on the schema checks
> just a flag to dtc. I'm not sure if adding the complexity here is
> worth it as I'd expect much of this patch to go away again.
>
> Is there any negative impact on the absolute clean build time? I'm
> more concerned about that than optimizing rerunning.
No benefit on the absolute clean build time.
OK, then please skip this patch.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists