]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: Fix generated example files getting added to schemas
authorRob Herring <robh@kernel.org>
Tue, 30 Jul 2019 14:49:34 +0000 (08:49 -0600)
committerRob Herring <robh@kernel.org>
Tue, 30 Jul 2019 19:09:57 +0000 (13:09 -0600)
commitb34b3f228e3f57e547793ca3043bac05f6778c05
tree8dccc45a8fabe2669b8d62f5d8662c4b720c7cf3
parent41a187cd24925e8550afd67e1bda36b35bf2bd6a
dt-bindings: Fix generated example files getting added to schemas

Commit cf76b66ee710 ("dt-bindings: Check the examples against the
schemas") started generating YAML encoded DT files to validate the
examples against the schema. When running 'make dt_binding_check' in
tree after the 1st time, the generated example .dt.yaml files are
mistakenly added to the list of schema files. Exclude *.example.dt.yaml
files from the search for schema files.

Fixes: cf76b66ee710 ("dt-bindings: Check the examples against the schemas")
Reported-by: Guido Günther <agx@sigxcpu.org>
Tested-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/Makefile