[PATCH v2] tools: add libyaml
ynezz at true.cz
Thu Jul 30 09:05:14 EDT 2020
Daniel Golle <daniel at makrotopia.org> [2020-07-30 01:03:36]:
> ... and it will allow us to verify DTB bindings against the yaml
> schema format now enforced upstream for mandatory binding
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
More information about the openwrt-devel