]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: check libyaml installation for 'make dt_binding_check'
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 17 Apr 2020 04:04:55 +0000 (13:04 +0900)
committerRob Herring <robh@kernel.org>
Fri, 17 Apr 2020 15:45:23 +0000 (10:45 -0500)
commitc7e5b07d88d44c1ec7b24686da897dfb29ad55c4
tree8a0a256757a580d38b1d0f29758e38b0e513204b
parentd42e31a26bcee973f692863aa78536060896c650
kbuild: check libyaml installation for 'make dt_binding_check'

If you run 'make dtbs_check' without installing the libyaml package,
the error message "dtc needs libyaml ..." is shown.

This should be checked also for 'make dt_binding_check' because dtc
needs to validate *.example.dts extracted from *.yaml files.

It is missing since commit 2f4b5be5d172 ("kbuild: Add support for DT
binding schema checks"), but this fix-up is applicable only after commit
992a1b7fa3d0 ("kbuild: allow to run dt_binding_check and dtbs_check
in a single command").

I gave the Fixes tag to the latter in case somebody is interested in
back-porting this.

Fixes: 992a1b7fa3d0 ("kbuild: allow to run dt_binding_check and dtbs_check in a single command")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
scripts/dtc/Makefile