pastefile1
diff --cc Documentation/devicetree/bindings/Makefile
index a072e95de626,a072e95de626..90d2a00f3155
--- a/Documentation/devicetree/bindings/Makefile
+++ b/Documentation/devicetree/bindings/Makefile
@@@ -22,9 -22,9 +22,17 @@@ $(obj)/%.example.dts: $(src)/%.yaml che
# Use full schemas when checking %.example.dts
DT_TMP_SCHEMA := $(obj)/processed-schema-examples.json
++ifeq ($(DT_SCHEMA_FILES),)
++
find_cmd = find $(srctree)/$(src) \( -name '*.yaml' ! \
-name 'processed-schema*' ! \
-name '*.example.dt.yaml' \)
++else
++
++find_cmd = echo $(addprefix $(srctree)/, $(DT_SCHEMA_FILES))
++
++endif
++