diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-21 12:35:28 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-23 10:50:26 +0900 |
commit | 3d4b2238684ac919394eba7fb51bb7eeeec6ab57 (patch) | |
tree | 78e33e772a10f3f608f480ee15b029d73e0b151e /scripts | |
parent | e461bc9f9ab105637b86065d24b0b83f182d477c (diff) | |
download | linux-stable-3d4b2238684ac919394eba7fb51bb7eeeec6ab57.tar.gz linux-stable-3d4b2238684ac919394eba7fb51bb7eeeec6ab57.tar.bz2 linux-stable-3d4b2238684ac919394eba7fb51bb7eeeec6ab57.zip |
kbuild: fix DT binding schema rule again to avoid needless rebuilds
Since commit 7a0496056064 ("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: 7a0496056064 ("kbuild: fix DT binding schema rule to detect command line changes")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 97547108ee7f..4b799737722c 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -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) |