kconfig: add helper to set config symbol from environment variable
authorSam Ravnborg <sam@ravnborg.org>
Sat, 10 Nov 2007 19:40:05 +0000 (20:40 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 12 Nov 2007 20:02:20 +0000 (21:02 +0100)
commit0f855aa64b3f63d35a891510cf7db932a435c116
treee3e8ad4bf17598ac3c6aeb6c5fed81fc1096b615
parent9c900a9c9d9351e55ab6a84e12e3a52c474c7c8b
kconfig: add helper to set config symbol from environment variable

Add conf_set_env_sym() that can set an already defined symbol
based on the value of an environment variable.

Unknown symbols are silently ignored.
A warning is printed if the value of the environment variable
is unexpected.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
scripts/kconfig/confdata.c
scripts/kconfig/lkc_proto.h