summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-11-22 22:40:04 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-26 17:01:08 +0000
commit91dbc50d6ec4c6361151ba94cacaeda0cbbbff19 (patch)
tree9f9559be2d4a54e025c801d4ada3ad7574012432
parentace63e94e346637b116a0365b89fbfd2ff1a393b (diff)
downloadpoky-91dbc50d6ec4c6361151ba94cacaeda0cbbbff19.tar.gz
python: introduce python3-dtschema
kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb targets], which is part of v5.16+, makes the checking of dtb schemas manditory. To support the checking, we introduce this new recipe dtschema. Dependencies will be imported in subsequent commits, so we can track the dependency need on a per-import basis. (From OE-Core rev: d56fcb5806784359a9e81ea5ac4816caaeee7750) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3-dtschema_2021.10.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-dtschema_2021.10.bb b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
new file mode 100644
index 0000000000..627aed496f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "Tooling for devicetree validation using YAML and jsonschema"
2HOMEPAGE = "https://github.com/devicetree-org/dt-schema"
3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=457495c8fa03540db4a576bf7869e811"
5
6inherit pypi setuptools3
7
8PYPI_PACKAGE = "dtschema"
9
10SRC_URI[md5sum] = "d2f0d847ba2ad4d223317ef7304342b0"
11SRC_URI[sha256sum] = "d09c94d13f46e6674ba11ff31220651ad1b02dae860f5a87905dfac6b8d768d9"
12
13DEPENDS += "python3-setuptools-scm-native"
14RDEPENDS:${PN} += "python3-ruamel-yaml python3-jsonschema python3-rfc3987"
15
16BBCLASSEXTEND = "native nativesdk"