History

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

Linus Torvalds committed 7 years ago

Commit 12491ed2 parents 74b13e7 5fa98c21 file · +5 −1Browse files

Unified · Split

Documentation/devicetree/bindings/Makefile+5−1
@@ -17,7 +17,11 @@ extra-y += $(DT_TMP_SCHEMA) · 16 unmodified lines
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))