dt-bindings: Be explicit about installing deps
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 31 Oct 2019 09:06:02 +0000 (10:06 +0100)
committerRob Herring <robh@kernel.org>
Thu, 23 Jan 2020 20:34:16 +0000 (14:34 -0600)
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>
Documentation/devicetree/writing-schema.rst

index efcd5d21dc2b886de57941b85121c2e335752bd2..7635ab2304560815fa14d93cfebc3c07697e48df 100644 (file)
@@ -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
 ~~~~~~~~~~~~~~