linux/scripts/kconfig
Matthias Maennich 3216403849 FROMLIST: scripts: merge_config: add strict mode to fail upon any redefinition
When merging configuration fragments, it might be of interest to
identify mismatches (redefinitions) programmatically. Hence add the
option -s (strict mode) to instruct merge_config.sh to bail out in
case any redefinition has been detected.

With strict mode, warnings are emitted as before, but the script
terminates with rc=1. If -y is set to define "builtin having
precedence over modules", fragments are still allowed to set =m (while
the base config has =y). Strict mode will tolerate that as demotions
from =y to =m are ignored when setting -y.

Bug: 174454795
Link: https://lore.kernel.org/linux-kbuild/20201202151238.3776616-1-maennich@google.com/
Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Ib982a87811956e48b718a15680f06474a39dc19d
2020-12-03 07:14:17 +00:00
..
lxdialog
tests
.gitignore kconfig: qconf: compile moc object separately 2020-08-01 20:54:39 +09:00
conf.c
confdata.c
expr.c
expr.h
gconf-cfg.sh
gconf.c
gconf.glade
images.c kconfig: constify XPM data 2020-08-14 13:30:03 +09:00
images.h kconfig: constify XPM data 2020-08-14 13:30:03 +09:00
lexer.l kconfig: add 'static' to some file-local data 2020-08-14 13:30:04 +09:00
list.h
lkc_proto.h kconfig: qconf: fix incomplete type 'struct gstr' warning 2020-09-20 12:58:49 +09:00
lkc.h kconfig: qconf: fix incomplete type 'struct gstr' warning 2020-09-20 12:58:49 +09:00
Makefile kbuild: hide commands to run Kconfig, and show short log for syncconfig 2020-08-27 00:44:33 +09:00
mconf-cfg.sh
mconf.c
menu.c
merge_config.sh FROMLIST: scripts: merge_config: add strict mode to fail upon any redefinition 2020-12-03 07:14:17 +00:00
nconf-cfg.sh
nconf.c kconfig: remove redundant assignment prompt = prompt 2020-09-03 12:21:22 +09:00
nconf.gui.c
nconf.h
parser.y kconfig: allow only 'config', 'comment', and 'if' inside 'choice' 2020-05-12 13:28:30 +09:00
preprocess.c
qconf-cfg.sh
qconf.cc kconfig: qconf: create QApplication after option checks 2020-09-25 00:37:13 +09:00
qconf.h kconfig: qconf: remove Y, M, N columns 2020-09-25 00:37:13 +09:00
streamline_config.pl kconfig: streamline_config.pl: check defined(ENV variable) before using it 2020-09-03 12:16:30 +09:00
symbol.c kconfig: add 'static' to some file-local data 2020-08-14 13:30:04 +09:00
util.c