android_kernel_xiaomi_sm8350/scripts/kconfig
Roman Zippel d8982ba1f2 kconfig: reset generated values only if Kconfig and .config agree.
Normally generated values (Kconfig entries without a prompt) are cleared as
they are regenerated anyway and so they appear as new should they become
visible and defaults work as expected (once a value is set defaults aren't
used anymore).

The detection whether a value is generated or not is only based on its
visibility status, which can quickly change for a lot of symbols by just
removing a single line from .config or adding a dependency to Kconfig as you
noticed.

The patch now suppresses this logic when .config and Kconfig aren't in sync
and .config needs to be updated, so that you can remove now a random value
from .config and oldconfig won't reask for many other values.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-07-17 14:24:55 +02:00
..
lxdialog kconfig: use POSIX equality test in check-lxdialog.sh 2007-07-16 21:15:51 +02:00
.gitignore
conf.c kbuild: be more explicit on missing .config file 2007-05-02 20:58:11 +02:00
confdata.c kconfig: reset generated values only if Kconfig and .config agree. 2007-07-17 14:24:55 +02:00
expr.c
expr.h
gconf.c
gconf.glade
images.c
kconfig_load.c
kxgettext.c kconfig: fix update-po-config 2007-07-16 21:15:53 +02:00
lex.zconf.c_shipped kconfig: fix mconf segmentation fault 2007-05-06 09:27:15 +02:00
lkc_proto.h
lkc.h kconfig/menuconfig: do not hardcode '.config' 2007-05-02 20:58:09 +02:00
Makefile kconfig: fix update-po-config 2007-07-16 21:15:53 +02:00
mconf.c kconfig: strip 'CONFIG_' automatically in kernel configuration search 2007-07-17 14:24:55 +02:00
menu.c kconfig: correct minor typo in Kconfig warning message. 2007-05-02 20:58:12 +02:00
POTFILES.in
qconf.cc kconfig/xconfig: sync main view with search dialog current menu 2007-05-02 20:58:08 +02:00
qconf.h kconfig/xconfig: sync main view with search dialog current menu 2007-05-02 20:58:08 +02:00
symbol.c kconfig: error out if recursive dependencies are found 2007-05-06 09:20:10 +02:00
util.c
zconf.gperf
zconf.hash.c_shipped
zconf.l kconfig: fix mconf segmentation fault 2007-05-06 09:27:15 +02:00
zconf.tab.c_shipped kconfig: error out if recursive dependencies are found 2007-05-06 09:20:10 +02:00
zconf.y kconfig: error out if recursive dependencies are found 2007-05-06 09:20:10 +02:00