kconfig: allow overriding symbols
authorJan Engelhardt <jengelh@computergmbh.de>
Thu, 3 Jan 2008 22:33:44 +0000 (23:33 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 28 Jan 2008 22:14:37 +0000 (23:14 +0100)
commitd84876f9f8042d5536050b83674c4f348ca3c4df
tree86445ec7cc38d3348405492abf147e38f3630e1c
parent09af091f50409a60a72086c737b9a6224dde5ab8
kconfig: allow overriding symbols

Allow config variables in .config to override earlier ones in the same
file. In other words,

# CONFIG_SECURITY is not defined
CONFIG_SECURITY=y

will activate it. This makes it a bit easier to do

cat original-config myconfig myconfig2 ... >.config;
and run *config as expected.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
scripts/kconfig/confdata.c