diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2010-07-31 23:35:29 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-03 13:49:31 +0200 |
commit | 59e89e3ddf8523be39a8e0a66bacbbdd6a72d069 (patch) | |
tree | b92301020fc8f41304e8e12ed5eb2a80846a3628 /scripts/kconfig/symbol.c | |
parent | 861b4ea4cc0eade661480f1ce197ae747f22a918 (diff) |
kconfig: save location of config symbols
When we add a new config symbol save the file/line
so we later can refer to their location.
The information is saved as a property to a config symbol
because we may have multiple definitions of the same symbol.
This has the side-effect that a symbol always has
at least one property.
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 'scripts/kconfig/symbol.c')
-rw-r--r-- | scripts/kconfig/symbol.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index c127fa342f1..9f180ab7698 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -961,6 +961,8 @@ const char *prop_get_type_name(enum prop_type type) return "select"; case P_RANGE: return "range"; + case P_SYMBOL: + return "symbol"; case P_UNKNOWN: break; } |