Skip to content

Commit 12491ed

Browse files
committed
Merge tag 'devicetree-fixes-for-5.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull Devicetree fix from Rob Herring: "A single fix for building DT bindings in-tree" * tag 'devicetree-fixes-for-5.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: dt-bindings: Fix dt_binding_check target for in tree builds
2 parents 74b13e7 + 5fa98c2 commit 12491ed

File tree

1 file changed

+5
-1
lines changed
  • Documentation/devicetree/bindings

1 file changed

+5
-1
lines changed

Documentation/devicetree/bindings/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ extra-y += $(DT_TMP_SCHEMA)
1717
quiet_cmd_mk_schema = SCHEMA $@
1818
cmd_mk_schema = $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) -o $@ $(filter-out FORCE, $^)
1919

20-
DT_DOCS = $(shell cd $(srctree)/$(src) && find * -name '*.yaml')
20+
DT_DOCS = $(shell \
21+
cd $(srctree)/$(src) && \
22+
find * \( -name '*.yaml' ! -name $(DT_TMP_SCHEMA) \) \
23+
)
24+
2125
DT_SCHEMA_FILES ?= $(addprefix $(src)/,$(DT_DOCS))
2226

2327
extra-y += $(patsubst $(src)/%.yaml,%.example.dts, $(DT_SCHEMA_FILES))

0 commit comments

Comments
 (0)