]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Build DT binding examples with dtc warnings enabled
authorRob Herring <robh@kernel.org>
Sat, 29 Feb 2020 00:37:31 +0000 (18:37 -0600)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 3 Mar 2020 11:49:21 +0000 (20:49 +0900)
commit53f8e372d85602cb52a2c86403402a78c340b62a
treeeb75447ba8c7f904f8799e6afac279904911b927
parent2c7c544105eb960b894c566215cdd623940a1b4c
kbuild: Build DT binding examples with dtc warnings enabled

Now that we have a separate rule for DT binding examples, we can customize
the dtc options. Let's adjust the dtc warnings to me more strict by
default so the examples get cleaned up as they get converted to schema.

Leaving 'avoid_unnecessary_addr_size' and 'graph_child_address' warnings
disabled as examples tend to be incomplete and they generates a lot of
warnings.

Co-developed-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/devicetree/bindings/Makefile