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

From: Sam Ravnborg
Date: Wed Mar 04 2020 - 00:55:28 EST


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?

So I for example could do:

make dt_bindings_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/display/panel/

I did a very quick look add it but failed to dechiper all the
makefile logic.

It is a corner case when one wants to check a full dir,
so unless it is very simple the current logic should not
be complicated by this (if you take the bait and look at it).

Sam