diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-21 12:35:28 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-02 08:48:42 +0200 |
commit | 8f4cd6f0ea8278ded04145f6034ea7c7f3681fae (patch) | |
tree | 82c47ec2a640c56f14ff83a21a532b7f32312d5d /scripts | |
parent | 7067a62563d2a8d3c75d00268bc539a30fcdc64a (diff) | |
download | linux-stable-8f4cd6f0ea8278ded04145f6034ea7c7f3681fae.tar.gz linux-stable-8f4cd6f0ea8278ded04145f6034ea7c7f3681fae.tar.bz2 linux-stable-8f4cd6f0ea8278ded04145f6034ea7c7f3681fae.zip |
kbuild: fix DT binding schema rule again to avoid needless rebuilds
commit 3d4b2238684ac919394eba7fb51bb7eeeec6ab57 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 a66fc0acad1e..342618a2bccb 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -297,7 +297,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) |