Thread (12 messages) flat view 12 messages, 2 authors, 2020-02-26

Re: [PATCH 1/5] kbuild: fix DT binding schema rule to detect command line changes

From: Masahiro Yamada <masahiroy@kernel.org>
Date: 2020-02-25 04:33:53
Also in: linux-kbuild, lkml

Hi Rob,

On Tue, Feb 25, 2020 at 7:52 AM Rob Herring [off-list ref] wrote:
On Sun, Feb 23, 2020 at 04:04:31AM +0900, Masahiro Yamada wrote:
quoted
This if_change_rule is not working; it cannot detect any command line
changes.

The reason is because cmd-check in scripts/Kbuild.include compares
$(cmd_$@) and $(cmd_$1), but cmd_dtc_dt_yaml does not exist here.

For if_change_rule to work properly, the stem part of cmd_* and rule_*
must match. Because this cmd_and_fixdep invokes cmd_dtc, this rule must
be named rule_dtc.

Fixes: 4f0e3a57d6eb ("kbuild: Add support for DT binding schema checks")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 scripts/Makefile.lib | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
For the series,

Acked-by: Rob Herring <robh@kernel.org>

I'm assuming you will take these? If not, I can in the DT tree.
Yes, I will queue these to kbuild tree.





-- 
Best Regards
Masahiro Yamada
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help