diff mbox series

dt-bindings: Be explicit about installing deps

Message ID 20191031090602.28640-1-linus.walleij@linaro.org
State Accepted
Commit 7dcde0f337c3225ebe25ba070bd244d291219627
Headers show
Series dt-bindings: Be explicit about installing deps | expand

Commit Message

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

Comments

Rob Herring Jan. 23, 2020, 8:35 p.m. UTC | #1
On Thu, Oct 31, 2019 at 10:06:02AM +0100, Linus Walleij wrote:
> 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(-)

Sorry, I'd missed this one. Now applied.

Rob
diff mbox series

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
 ~~~~~~~~~~~~~~