Skip to content

Commit e996c1f

Browse files
committed
dt-bindings: Re-enable core schemas for dtbs_check
In commit 2ba06cd ("kbuild: Always validate DT binding examples"), the core schemas (from dtschema repo) were inadvertently disabled for dtbs_checks. Re-enable them. Fixes: 2ba06cd ("kbuild: Always validate DT binding examples") Reviewed-by: Masahiro Yamada <[email protected]> Signed-off-by: Rob Herring <[email protected]>
1 parent 0903060 commit e996c1f

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

Documentation/devicetree/bindings/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
DT_DOC_CHECKER ?= dt-doc-validate
33
DT_EXTRACT_EX ?= dt-extract-example
44
DT_MK_SCHEMA ?= dt-mk-schema
5+
DT_MK_SCHEMA_USERONLY_FLAG := $(if $(DT_SCHEMA_FILES), -u)
56

67
quiet_cmd_chk_binding = CHKDT $(patsubst $(srctree)/%,%,$<)
78
cmd_chk_binding = $(DT_DOC_CHECKER) -u $(srctree)/$(src) $< ; \
@@ -37,7 +38,7 @@ override DTC_FLAGS := \
3738
$(obj)/processed-schema-examples.yaml: $(DT_DOCS) FORCE
3839
$(call if_changed,mk_schema)
3940

40-
$(obj)/processed-schema.yaml: DT_MK_SCHEMA_FLAGS := -u
41+
$(obj)/processed-schema.yaml: DT_MK_SCHEMA_FLAGS := $(DT_MK_SCHEMA_USERONLY_FLAG)
4142
$(obj)/processed-schema.yaml: $(DT_SCHEMA_FILES) FORCE
4243
$(call if_changed,mk_schema)
4344

0 commit comments

Comments
 (0)