]> code.ossystems Code Review - openembedded-core.git/commit
kernel: introduce python3-dtschema-wrapper
authorBruce Ashfield <bruce.ashfield@gmail.com>
Fri, 14 Jan 2022 13:22:24 +0000 (13:22 +0000)
committerSteve Sakoman <steve@sakoman.com>
Wed, 19 Jan 2022 15:02:51 +0000 (05:02 -1000)
commit010477bc44a90b1f0dea82fbb824c9c9038edc80
tree544f1dc36b95e1bc4046f7d147fc81848854ab19
parent78d418fca20f997141d06d9c53194ec4e675860d
kernel: introduce python3-dtschema-wrapper

The 5.16 kernel introduced mandatory schema checking on any dtb file
built through the kernel.

That funcionality is provided via python3-dt-schema.

The dependencies to enable that functionality is not small, and may
not always be desired (in particular on architectures that do not
support dtbs, or in development cycles). It may also be useful for
allowing a non-conformant dts to be compiled.

This commit introduces a set of wrapper scripts that when added
as a depenency to the kernel, can pass both the validation testing
and validation steps of a dts.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backported from oe-core commit 2566563ad49d.
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/conf/distro/include/maintainers.inc
meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate [new file with mode: 0644]
meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema [new file with mode: 0644]
meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate [new file with mode: 0644]
meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb [new file with mode: 0644]