Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: do not build processed-schema.yaml for 'make dt_binding_check'

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>
Link: https://lore.kernel.org/r/20200625170434.635114-3-masahiroy@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Masahiro Yamada and committed by
Rob Herring
ce810eeb fa714cf5

+1 -1
+1 -1
Documentation/devicetree/bindings/Makefile
··· 53 53 $(obj)/processed-schema.yaml: $(DT_SCHEMA_FILES) check_dtschema_version FORCE 54 54 $(call if_changed,mk_schema) 55 55 56 - extra-y += processed-schema.yaml 56 + extra-$(CHECK_DTBS) += processed-schema.yaml 57 57 58 58 # Hack: avoid 'Argument list too long' error for 'make clean'. Remove most of 59 59 # build artifacts here before they are processed by scripts/Makefile.clean