zephyr/scripts/kconfig
Ulf Magnusson 1799cfdb2f scripts: kconfig: Turn malformed .config lines into errors
The warning from Kconfiglib might be hard to spot, and the problem is
easily fixed right away (note that malformed .config lines are different
from assignments to undefined symbols).

Do not make malformed .config lines an error in Kconfiglib itself (just
a warning), as you end up with messy "half-loaded" configurations.

Suggested by Marti Bolivar.

Piggyback some minor cleanups in kconfig.py. Make the warning for
configuration settings that didn't match the final value go to stderr,
for consistency.

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
2018-05-01 20:53:40 +02:00
..
lxdialog
check.sh
checkconfig.py Revert "doc: Kconfig: Decode Kconfig sources as UTF-8 instead [...]" 2018-03-21 08:57:44 -04:00
CMakeLists.txt cmake: Don't specify a C standard when building Kconfig 2018-01-12 08:05:35 -05:00
conf.c scrips/kconfig: reduce impact of getenv() buffer overflow 2016-12-02 04:16:53 +00:00
confdata.c win-build: Fixes a kconfig incompatibility for Windows 2016-11-18 23:22:21 +00:00
config scripts: move kconfig related scripts to scripts/kconfig 2017-09-11 08:53:56 -07:00
diffconfig scripts: move kconfig related scripts to scripts/kconfig 2017-09-11 08:53:56 -07:00
expr.c
expr.h
gconf.c
gconf.glade
images.c
kconfig.py scripts: kconfig: Turn malformed .config lines into errors 2018-05-01 20:53:40 +02:00
kconfiglib.py kconfiglib: Update to add warning for malformed .config lines 2018-05-01 20:53:40 +02:00
kxgettext.c
list.h
lkc_proto.h
lkc.h kconfig: support wildcards 2016-02-05 20:24:52 -05:00
mconf.c
menu.c kconfig: add a debug option to print defaults in menuconfig 2016-03-26 20:36:32 -04:00
menuconfig.py scripts: kconfig: Add a Python menuconfig implementation 2018-05-01 20:51:11 +02:00
merge_config.py Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
merge_config.sh scrips/merge_config.sh: fix corner case \n-less last line 2017-09-30 22:42:08 -04:00
nconf.c
nconf.gui.c
nconf.h
POTFILES.in
qconf.cc
qconf.h kconfig: fix Qt header for building Qt based kconfig 2017-11-08 20:00:22 -05:00
streamline_config.pl
symbol.c kconfig: untangle ordering and dependencies 2016-03-26 20:36:32 -04:00
util.c win-build: Fixes a kconfig incompatibility for Windows 2016-11-18 23:22:21 +00:00
zconf.gperf
zconf.hash.c_shipped
zconf.l scrips/kconfig: use snprintf() vs sprintf() 2016-11-18 23:04:32 +00:00
zconf.lex.c_shipped build: fixes issue in windows Kconfig support 2016-04-23 11:27:11 +00:00
zconf.tab.c_shipped kconfig: support wildcards 2016-02-05 20:24:52 -05:00
zconf.y kconfig: support wildcards 2016-02-05 20:24:52 -05:00