kconfig: save location of config symbols
authorSam Ravnborg <sam@ravnborg.org>
Sat, 31 Jul 2010 21:35:29 +0000 (23:35 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 3 Aug 2010 11:49:31 +0000 (13:49 +0200)
commit59e89e3ddf8523be39a8e0a66bacbbdd6a72d069
treeb92301020fc8f41304e8e12ed5eb2a80846a3628
parent861b4ea4cc0eade661480f1ce197ae747f22a918
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>
scripts/kconfig/expr.h
scripts/kconfig/menu.c
scripts/kconfig/symbol.c