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
Unified · Split
| @@ -17,7 +17,11 @@ extra-y += $(DT_TMP_SCHEMA) · 16 unmodified lines | ||
| 17 | 17 | quiet_cmd_mk_schema = SCHEMA $@ |
| 18 | 18 | cmd_mk_schema = $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) -o $@ $(filter-out FORCE, $^) |
| 19 | 19 | |
| 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 | + | |
| 21 | 25 | DT_SCHEMA_FILES ?= $(addprefix $(src)/,$(DT_DOCS)) |
| 22 | 26 | |
| 23 | 27 | extra-y += $(patsubst $(src)/%.yaml,%.example.dts, $(DT_SCHEMA_FILES)) |