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 $(srctree)/$(src) \( -name '*.yaml' ! \
29 -name 'processed-schema*' \)
31 find_cmd = $(find_all_cmd) | grep -F "$(DT_SCHEMA_FILES)"
36 xargs -n200 -P$$(nproc) \
37 $(DT_SCHEMA_LINT) -f parsable -c $(srctree)/$(src)/.yamllint >&2) || true
41 xargs -n200 -P$$(nproc) $(DT_DOC_CHECKER) -u $(srctree)/$(src)) || true
43 quiet_cmd_mk_schema = SCHEMA $@
46 $(DT_MK_SCHEMA) -j $(DT_MK_SCHEMA_FLAGS) @$$f > $@ ; \
47 rm -f $$f
58 -Wno-avoid_unnecessary_addr_size \
59 -Wno-graph_child_address \
60 -Wno-interrupt_provider \
61 -Wno-unique_unit_address \
62 -Wunique_unit_address_if_enabled
67 $(obj)/processed-schema.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE
70 always-y += processed-schema.json
71 always-$(CHECK_DT_BINDING) += $(patsubst $(srctree)/$(src)/%.yaml,%.example.dts, $(CHK_DT_DOCS))
72 always-$(CHECK_DT_BINDING) += $(patsubst $(srctree)/$(src)/%.yaml,%.example.dtb, $(CHK_DT_DOCS))
76 clean-files = $(shell find $(obj) \( -name '*.example.dts' -o \
77 -name '*.example.dtb' \) -delete 2>/dev/null)
79 dt_compatible_check: $(obj)/processed-schema.json
80 $(Q)$(srctree)/scripts/dtc/dt-extract-compatibles $(srctree) | xargs dt-check-compatible -v -s $<