Lines Matching +full:dt +full:- +full:schema
1 # SPDX-License-Identifier: GPL-2.0
2 DT_DOC_CHECKER ?= dt-doc-validate
3 DT_EXTRACT_EX ?= dt-extract-example
4 DT_MK_SCHEMA ?= dt-mk-schema
19 $(DT_DOC_CHECKER) --version 2>/dev/null || echo 0; } | sort -Vc >/dev/null || \
28 find_all_cmd = find $(src) \( -name '*.yaml' ! \
29 -name 'processed-schema*' \)
33 grep -F -e "$(subst :," -e ",$(DT_SCHEMA_FILES))" | \
39 xargs -n200 -P$$(nproc) \
40 $(DT_SCHEMA_LINT) -f parsable -c $(src)/.yamllint >&2) \
45 xargs -n200 -P$$(nproc) $(DT_DOC_CHECKER) -u $(src)) \
48 quiet_cmd_mk_schema = SCHEMA $@
51 $(DT_MK_SCHEMA) -j $(DT_MK_SCHEMA_FLAGS) @$$f > $@ ; \
52 rm -f $$f
57 -Wno-avoid_unnecessary_addr_size \
58 -Wno-graph_child_address \
59 -Wno-interrupt_provider \
60 -Wno-unique_unit_address \
61 -Wunique_unit_address_if_enabled
63 $(obj)/processed-schema.json: $(DT_DOCS) check_dtschema_version FORCE
66 targets += .dt-binding.checked .yamllint.checked
70 $(obj)/.dt-binding.checked: $(DT_DOCS) FORCE
73 always-y += processed-schema.json
79 clean-files = $(shell find $(obj) \( -name '*.example.dts' -o \
80 -name '*.example.dtb' \) -delete 2>/dev/null)
82 dt_compatible_check: $(obj)/processed-schema.json
83 $(Q)$(srctree)/scripts/dtc/dt-extract-compatibles $(srctree) | xargs dt-check-compatible -v -s $<
86 dt_binding_check: $(obj)/.dt-binding.checked $(obj)/.yamllint.checked $(CHK_DT_EXAMPLES)