[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqL4pTFK_pSNn1cSvjzwdg71dVzM3P06BYYEwDj2t+swPA@mail.gmail.com>
Date: Mon, 29 Jun 2020 14:49:55 -0600
From: Rob Herring <robh+dt@...nel.org>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: 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 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.
Rob
Powered by blists - more mailing lists