Re: [PATCH 2/3] kbuild: allow to run dt_binding_check and dtbs_check in a single command

From: Rob Herring
Date: Wed Mar 04 2020 - 10:19:58 EST


On Tue, Mar 3, 2020 at 11:55 PM Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>
> Hi Masahiro
>
> Thanks for the nice improvements to the dt infrastructure.
>
> Stealing a thread here..
>
> > It is also possible to run checks with a single schema file by setting the
> > ``DT_SCHEMA_FILES`` variable to a specific schema file.
> Would it be simple to enable the use of dirs for DT_SCHEMA_FILES?

I did name that with the intent of supporting more than one file.

> So I for example could do:
>
> make dt_bindings_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/display/panel/

Does this work?:

make dt_bindings_check DT_SCHEMA_FILES="$(find
Documentation/devicetree/bindings/display/panel/ -name '*.yaml' |
xargs)"

Rob