summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/expr.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2010-07-31 23:35:29 +0200
committerMichal Marek <mmarek@suse.cz>2010-08-03 13:49:31 +0200
commit59e89e3ddf8523be39a8e0a66bacbbdd6a72d069 (patch)
treeb92301020fc8f41304e8e12ed5eb2a80846a3628 /scripts/kconfig/expr.h
parent861b4ea4cc0eade661480f1ce197ae747f22a918 (diff)
downloadtalos-obmc-linux-59e89e3ddf8523be39a8e0a66bacbbdd6a72d069.tar.gz
talos-obmc-linux-59e89e3ddf8523be39a8e0a66bacbbdd6a72d069.zip
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/expr.h')
-rw-r--r--scripts/kconfig/expr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index 75a31e4552f3..6ee2e4fb1481 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -132,6 +132,7 @@ enum prop_type {
P_SELECT, /* select BAR */
P_RANGE, /* range 7..100 (for a symbol) */
P_ENV, /* value from environment variable */
+ P_SYMBOL, /* where a symbol is defined */
};
struct property {
OpenPOWER on IntegriCloud