diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2010-07-31 23:35:30 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-03 13:49:31 +0200 |
commit | d595cea62403db4e65b98a8bb96ff2b5205c7b82 (patch) | |
tree | 8adee034859b15daf560ab0b72ba5816e6088885 /mm | |
parent | 59e89e3ddf8523be39a8e0a66bacbbdd6a72d069 (diff) | |
download | linux-d595cea62403db4e65b98a8bb96ff2b5205c7b82.tar.gz linux-d595cea62403db4e65b98a8bb96ff2b5205c7b82.tar.bz2 linux-d595cea62403db4e65b98a8bb96ff2b5205c7b82.zip |
kconfig: print more info when we see a recursive dependency
Consider following kconfig file:
config TEST1
bool "test 1"
depends on TEST2
config TEST2
bool "test 2"
depends on TEST1
Previously kconfig would report:
foo:6:error: found recursive dependency: TEST2 -> TEST1 -> TEST2
With the following patch kconfig reports:
foo:5:error: recursive dependency detected!
foo:5: symbol TEST2 depends on TEST1
foo:1: symbol TEST1 depends on TEST2
Note that we now report where the offending symbols are defined.
This can be a great help for complex situations involving
several files.
Patch is originally from Roman Zippel with a few adjustments by Sam.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions