From: Rob Herring <robh@kernel.org> Date: 2021-09-03 15:52:04
It is possible to build a single dtb, but not with DT schema validation
enabled. Enable the schema validation to run for %.dtb 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 <redacted>
Cc: Tom Rini <redacted>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
On Sat, Sep 4, 2021 at 12:52 AM Rob Herring [off-list ref] wrote:
quoted hunk
It is possible to build a single dtb, but not with DT schema validation
enabled. Enable the schema validation to run for %.dtb 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 <redacted>
Cc: Tom Rini <redacted>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Rob Herring <robh@kernel.org> Date: 2021-09-09 16:22:52
On Thu, Sep 9, 2021 at 8:05 AM Masahiro Yamada [off-list ref] wrote:
On Sat, Sep 4, 2021 at 12:52 AM Rob Herring [off-list ref] wrote:
quoted
It is possible to build a single dtb, but not with DT schema validation
enabled. Enable the schema validation to run for %.dtb 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 <redacted>
Cc: Tom Rini <redacted>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)