diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2007-07-09 11:43:58 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-07-17 14:24:55 +0200 |
commit | d8982ba1f2a24f1db89d23e9f5224f932f8b04a0 (patch) | |
tree | 1533053725aea6bb2eff822c50f2212125a84631 /arch/powerpc | |
parent | a412c1723da5133843688078b6f1f069fa9c93f7 (diff) |
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>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions