提交 14828349 编写于 作者: S Sam Ravnborg 提交者: Linus Torvalds

kconfig: fix make oldconfig

Linus wrote:
 This seems to make "make oldconfig" a _lot_ more verbose than it
 used to be. In a very annoying way.

 I just did a quick git bisect. It's introduced by commit 4062f1a4
 ("kconfig: use long options in conf") by Sam Ravnborg. Apparently that
 thing is totally buggy, and doesn't just change the option names, but
 actively breaks them.

The old behaviour (from years ago) were reintroduced by accident.  Fix
this so we are back to the version that are silent if there is nothing
to ask about.
Reported-by: NLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
Reviewed-by: NMichal Marek <mmarek@suse.cz>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 31d1d48e
...@@ -599,12 +599,12 @@ int main(int ac, char **av) ...@@ -599,12 +599,12 @@ int main(int ac, char **av)
break; break;
case savedefconfig: case savedefconfig:
break; break;
case oldconfig:
case oldaskconfig: case oldaskconfig:
rootEntry = &rootmenu; rootEntry = &rootmenu;
conf(&rootmenu); conf(&rootmenu);
input_mode = silentoldconfig; input_mode = silentoldconfig;
/* fall through */ /* fall through */
case oldconfig:
case listnewconfig: case listnewconfig:
case oldnoconfig: case oldnoconfig:
case silentoldconfig: case silentoldconfig:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册