kconfig: silence a warning about undefined env variable
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Mar 05 09:43:00 2010 +0100 (2010-03-05)
changeset 1843266166448ffd
parent 1842 2535545dd450
child 1844 4d6a56579d9d
kconfig: silence a warning about undefined env variable

When using an environment variable to set a config entry,
don'twarn if it is not defined. Update doc accordingly.
docs/overview.txt
kconfig/symbol.c
     1.1 --- a/docs/overview.txt	Fri Mar 05 09:19:56 2010 +0100
     1.2 +++ b/docs/overview.txt	Fri Mar 05 09:43:00 2010 +0100
     1.3 @@ -761,8 +761,8 @@
     1.4  The list of the most notable changes (at least the ones I remember) follows:
     1.5  - the CONFIG_ prefix has been replaced with CT_
     1.6  - a leading | in prompts is skipped, and subsequent leading spaces are not
     1.7 -  trimmed
     1.8 -- otherwise leading spaces are silently trimmed
     1.9 +  trimmed; otherwise leading spaces are silently trimmed
    1.10 +- removed the warning about undefined environment variable
    1.11  
    1.12  The kconfig parsers (conf and mconf) are not installed pre-built, but as
    1.13  source files. Thus you can have the directory where crosstool-NG is installed,
     2.1 --- a/kconfig/symbol.c	Fri Mar 05 09:19:56 2010 +0100
     2.2 +++ b/kconfig/symbol.c	Fri Mar 05 09:43:00 2010 +0100
     2.3 @@ -976,6 +976,4 @@
     2.4  	p = getenv(env);
     2.5  	if (p)
     2.6  		sym_add_default(sym, p);
     2.7 -	else
     2.8 -		menu_warn(current_entry, "environment variable %s undefined", env);
     2.9  }