Skip to content

Commit 71d8066

Browse files
Kyle McMartinmichal42
authored andcommitted
kbuild: fix oldnoconfig to do the right thing
Commit 861b4ea 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>
1 parent 76a136c commit 71d8066

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/kconfig/conf.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ static void check_conf(struct menu *menu)
427427
if (sym->name && !sym_is_choice_value(sym)) {
428428
printf("CONFIG_%s\n", sym->name);
429429
}
430-
} else {
430+
} else if (input_mode != oldnoconfig) {
431431
if (!conf_cnt++)
432432
printf(_("*\n* Restart config...\n*\n"));
433433
rootEntry = menu_get_parent_menu(menu);

0 commit comments

Comments
 (0)