Re: [PATCH] kbuild: check libyaml installation for 'make dt_binding_check'
From: Rob Herring
Date: Fri Apr 17 2020 - 11:44:35 EST
On Fri, Apr 17, 2020 at 01:04:55PM +0900, Masahiro Yamada wrote:
> 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 4f0e3a57d6eb ("kbuild: Add support for DT
> binding schema checks"), but this fix-up is applicable only after commit
> e10c4321dc1e ("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: e10c4321dc1e ("kbuild: allow to run dt_binding_check and dtbs_check in a single command")
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> scripts/dtc/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Rob