summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/writing-schema.rst
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-10-31 10:06:02 +0100
committerRob Herring <robh@kernel.org>2020-01-23 21:34:16 +0100
commit7dcde0f337c3225ebe25ba070bd244d291219627 (patch)
tree28fe5b0543aa08b1e352593c248a7c7410bf523c /Documentation/devicetree/writing-schema.rst
parentdt-bindings: stm32: convert dfsdm to json-schema (diff)
downloadlinux-7dcde0f337c3225ebe25ba070bd244d291219627.tar.xz
linux-7dcde0f337c3225ebe25ba070bd244d291219627.zip
dt-bindings: Be explicit about installing deps
Make sure the reader of the document is aware that some active installation of the libyaml development package is required and provide two examples. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/writing-schema.rst')
-rw-r--r--Documentation/devicetree/writing-schema.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/devicetree/writing-schema.rst b/Documentation/devicetree/writing-schema.rst
index efcd5d21dc2b..7635ab230456 100644
--- a/Documentation/devicetree/writing-schema.rst
+++ b/Documentation/devicetree/writing-schema.rst
@@ -121,7 +121,13 @@ Several executables (dt-doc-validate, dt-mk-schema, dt-validate) will be
installed. Ensure they are in your PATH (~/.local/bin by default).
dtc must also be built with YAML output support enabled. This requires that
-libyaml and its headers be installed on the host system.
+libyaml and its headers be installed on the host system. For some distributions
+that involves installing the development package, such as:
+
+Debian:
+ apt-get install libyaml-dev
+Fedora:
+ dnf -y install libyaml-devel
Running checks
~~~~~~~~~~~~~~