]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 25 May 2020 08:42:01 +0000 (10:42 +0200)
commit73af9e12d1abc7ece9ebc09a48b8a45604263599
treec9bdf136a3408402c05595a8c3a84e93238335fe
parent8ba89d4efe8dc2423c955bf296da16eae5a30c02
kbuild: fix DT binding schema rule again to avoid needless rebuilds

BugLink: https://bugs.launchpad.net/bugs/1876765
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
scripts/Makefile.lib