diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-15 14:59:45 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-22 23:21:39 +0900 |
commit | f498926c47aa7d4f1b6d08af2ba16f3cf8fcb151 (patch) | |
tree | 6309ef2c804936b4d4735b3c2070c9ee7754c968 /scripts/mod/modpost.c | |
parent | 5e8c5299d31519e0327be1020f309fa62dc53036 (diff) |
kconfig: improve the recursive dependency report
This commit improves the messages of the recursive dependency.
Currently, sym->dir_dep.expr is not checked. Hence, any dependency
in property visibility is regarded as the dependency of the symbol.
[Test Code 1]
config A
bool "a"
depends on B
config B
bool "b"
depends on A
[Test Code 2]
config A
bool "a" if B
config B
bool "b"
depends on A
For both cases above, the same message is displayed:
symbol B depends on A
symbol A depends on B
This commit changes the message for the latter, like this:
symbol B depends on A
symbol A prompt is visible depending on B
Also, 'select' and 'imply' are distinguished.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Dirk Gouders <dirk@gouders.net>
Diffstat (limited to 'scripts/mod/modpost.c')
0 files changed, 0 insertions, 0 deletions