]> git.baikalelectronics.ru Git - 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)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 23 Apr 2020 01:50:26 +0000 (10:50 +0900)
commitb115cb8aa0423d94f5ba766fdbd5f66302a5543e
tree78e33e772a10f3f608f480ee15b029d73e0b151e
parent1ba1b3051b70410a7d90a80be35a9dc39d412f17
kbuild: fix DT binding schema rule again to avoid needless rebuilds

Since commit 53e698297ceb ("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: 53e698297ceb ("kbuild: fix DT binding schema rule to detect command line changes")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.lib