Revision 7a04960560640ac5b0b89461f7757322b57d0c7a authored by Masahiro Yamada on 22 February 2020, 19:04:31 UTC, committed by Masahiro Yamada on 26 February 2020, 17:23:12 UTC
This if_change_rule is not working properly; it cannot detect any
command line change.

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>
Acked-by: Rob Herring <robh@kernel.org>
1 parent eccbde4
History
File Mode Size
Kconfig -rw-r--r-- 1.0 KB
Makefile -rw-r--r-- 138 bytes
dir.c -rw-r--r-- 4.1 KB
file.c -rw-r--r-- 13.5 KB
group.c -rw-r--r-- 12.2 KB
mount.c -rw-r--r-- 2.5 KB
symlink.c -rw-r--r-- 4.8 KB
sysfs.h -rw-r--r-- 844 bytes

back to top