Daniel Golle <[email protected]> [2020-07-30 01:03:36]:

Hi,

> ... and it will allow us to verify DTB bindings against the yaml
> schema format now enforced upstream for mandatory binding
> documentation. 

I expect, that this journey is going to be much longer and wont end with just
adding libyaml into the tree. 

Why we can't simply do the same dependency check as kernel does? Why to add
all the dependencies into the tree implicitly?

I mean, if you want to validate stuff, then just install libyaml from your
distro and appropriate dtschema via pip (likely going to change with kernel
versions). libyaml is neither build time or run time dependency.

> Try `make dt_binding_check` in a kernel tree with libyaml available.
> (and also try `make dtbs_check`)

 $ make dt_binding_check
 ERROR: dtschema minimum version is v2020.5
 Documentation/devicetree/bindings/Makefile:10: recipe for target 
'check_dtschema_version' failed

-- ynezz

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to