Message ID | 20200625170434.635114-3-masahiroy@kernel.org |
---|---|
State | Accepted, archived |
Headers | show |
Series | dt-bindings: fix 'make clean' and improve dt-schema check rules | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success |
On Fri, 26 Jun 2020 02:04:32 +0900, Masahiro Yamada wrote: > Currently, processed-schema.yaml is always built, but it is actually > used only for 'make dtbs_check'. > > 'make dt_binding_check' uses processed-schema-example.yaml instead. > > Build processed-schema.yaml only for 'make dtbs_check'. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> > --- > > Documentation/devicetree/bindings/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied, thanks!
diff --git a/Documentation/devicetree/bindings/Makefile b/Documentation/devicetree/bindings/Makefile index f20d234aec46..aa243328ed43 100644 --- a/Documentation/devicetree/bindings/Makefile +++ b/Documentation/devicetree/bindings/Makefile @@ -52,7 +52,7 @@ $(obj)/processed-schema.yaml: DT_MK_SCHEMA_FLAGS := $(DT_MK_SCHEMA_USERONLY_FLAG $(obj)/processed-schema.yaml: $(DT_SCHEMA_FILES) check_dtschema_version FORCE $(call if_changed,mk_schema) -extra-y += processed-schema.yaml +extra-$(CHECK_DTBS) += processed-schema.yaml # Hack: avoid 'Argument list too long' error for 'make clean'. Remove most of # build artifacts here before they are processed by scripts/Makefile.clean
Currently, processed-schema.yaml is always built, but it is actually used only for 'make dtbs_check'. 'make dt_binding_check' uses processed-schema-example.yaml instead. Build processed-schema.yaml only for 'make dtbs_check'. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> --- Documentation/devicetree/bindings/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)