]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Enable DT schema checks for %.dtb targets
authorRob Herring <robh@kernel.org>
Mon, 13 Sep 2021 14:51:46 +0000 (09:51 -0500)
committerRob Herring <robh@kernel.org>
Mon, 13 Sep 2021 18:15:39 +0000 (13:15 -0500)
commite32dd7740617ab7035a6f4ee10b98c77b5ac34e7
tree54229c9cd5aadd7dbf056c72686b1225f79c5468
parente6b830eae69210023a1ca96b6bafbeb843d89821
kbuild: Enable DT schema checks for %.dtb targets

It is possible to build a single dtb, but not with DT schema validation
enabled. Enable the schema validation to run for %.dtb and %.dtbo
targets. Anyone building a dtb for a specific platform *should* pay
attention to schema warnings.

This could be supported with a separate %.dt.yaml target instead.
However, the .dt.yaml format is considered an intermediate format and
could possibly go away at some point if schema checking is integrated
into dtc. Also, the plan is to enable the schema checks by default once
platforms are free of warnings, and this is a move in that direction.

Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210913145146.766080-1-robh@kernel.org
Makefile