kbuild: fix oldnoconfig to do the right thing
authorKyle McMartin <kyle@redhat.com>
Wed, 1 Sep 2010 15:21:30 +0000 (11:21 -0400)
committerMichal Marek <mmarek@suse.cz>
Wed, 8 Sep 2010 11:55:37 +0000 (13:55 +0200)
commit71d8066265896a6498a4de1bed80dea8dc5daead
treea9388794697fadfe82e000815686c1766b0a7ffb
parent76a136c4a6bde90af8c899701cc1f0997af2f60a
kbuild: fix oldnoconfig to do the right thing

Commit 861b4ea4 broke oldnoconfig when removed the oldnoconfig checks on
                       if (input_mode == nonint_oldconfig ||
                           input_mode == oldnoconfig) {
                               if (input_mode == nonint_oldconfig &&
                                   sym->name &&
                                    !sym_is_choice_value(sym)) {
to avoid oldnoconfig chugging through the else stanza.

Fix that to restore expected behaviour (which I've confirmed in the
Fedora kernel build that the configs end up looking the same.)

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/conf.c