dt-bindings: Be explicit about installing deps

Message ID 20191031090602.28640-1-linus.walleij@linaro.org
State New
Headers show
Series
  • dt-bindings: Be explicit about installing deps
Related show

Commit Message

Linus Walleij Oct. 31, 2019, 9:06 a.m.
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>

---
 Documentation/devicetree/writing-schema.rst | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

-- 
2.21.0

Patch

diff --git a/Documentation/devicetree/writing-schema.rst b/Documentation/devicetree/writing-schema.rst
index f4a638072262..9690495f1dfd 100644
--- a/Documentation/devicetree/writing-schema.rst
+++ b/Documentation/devicetree/writing-schema.rst
@@ -118,7 +118,13 @@  project can be installed with pip::
     pip3 install git+https://github.com/devicetree-org/dt-schema.git@master
 
 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
 ~~~~~~~~~~~~~~