kbuild: fix DT binding schema rule again to avoid needless rebuilds
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 21 Apr 2020 03:35:28 +0000 (12:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 May 2020 06:48:42 +0000 (08:48 +0200)
commit8f4cd6f0ea8278ded04145f6034ea7c7f3681fae
tree82c47ec2a640c56f14ff83a21a532b7f32312d5d
parent7067a62563d2a8d3c75d00268bc539a30fcdc64a
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>
scripts/Makefile.lib