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)
commit65220630bb1766227c29a7774b95af3916f1564b
treeeb75447ba8c7f904f8799e6afac279904911b927
parent2ba06cd8565b5b3dee33a9ca24cf86a906d051d1
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