Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 604a57ba authored by Rob Herring's avatar Rob Herring Committed by Masahiro Yamada
Browse files

dt-bindings: kbuild: Add separate target/dependency for processed-schema.json


Running dtbs_check and dt_compatible_check targets really only depend
on processed-schema.json, but the dependency is 'dt_binding_check'. That
was sort worked around with the CHECK_DT_BINDING variable in order to
skip some of the work that 'dt_binding_check' does. It still runs the
full checks of the schemas which is not necessary and adds 10s of
seconds to the build time. That's significant when checking only a few
DTBs and with recent changes that have improved the validation time by
6-7x.

Add a new target, dt_binding_schema, which just builds
processed-schema.json and can be used as the dependency for other
targets. The scripts_dtc dependency isn't needed either as the examples
aren't built for it.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Tested-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 6552b72c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment