]> 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)
commitdd65c9cd9b5d09549ed9b09a556beac6e06f405b
treeeb75447ba8c7f904f8799e6afac279904911b927
parenta48058f5e84286100423cfd7a3e7e5c0b100f6f9
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