summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/Makefile')
-rw-r--r--dts/Bindings/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/dts/Bindings/Makefile b/dts/Bindings/Makefile
index 6e5cef0..50daa0b 100644
--- a/dts/Bindings/Makefile
+++ b/dts/Bindings/Makefile
@@ -17,7 +17,11 @@ extra-y += $(DT_TMP_SCHEMA)
quiet_cmd_mk_schema = SCHEMA $@
cmd_mk_schema = $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) -o $@ $(filter-out FORCE, $^)
-DT_DOCS = $(shell cd $(srctree)/$(src) && find * -name '*.yaml')
+DT_DOCS = $(shell \
+ cd $(srctree)/$(src) && \
+ find * \( -name '*.yaml' ! -name $(DT_TMP_SCHEMA) \) \
+ )
+
DT_SCHEMA_FILES ?= $(addprefix $(src)/,$(DT_DOCS))
extra-y += $(patsubst $(src)/%.yaml,%.example.dts, $(DT_SCHEMA_FILES))