Commit 3d4b2238 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: fix DT binding schema rule again to avoid needless rebuilds

Since commit 7a049605 ("kbuild: fix DT binding schema rule to detect
command line changes"), this rule is every time re-run even if you change
nothing.

cmd_dtc takes one additional parameter to pass to the -O option of dtc.

We need to pass 'yaml' to if_changed_rule. Otherwise, cmd-check invoked
from if_changed_rule is false positive.

Fixes: 7a049605 ("kbuild: fix DT binding schema rule to detect command line changes")
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent e461bc9f
......@@ -309,7 +309,7 @@ define rule_dtc
endef
$(obj)/%.dt.yaml: $(src)/%.dts $(DTC) $(DT_TMP_SCHEMA) FORCE
$(call if_changed_rule,dtc)
$(call if_changed_rule,dtc,yaml)
dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment