diff options
Diffstat (limited to 'scripts/kconfig/conf.c')
-rw-r--r-- | scripts/kconfig/conf.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 2dec584f1268..1f86fca6b07f 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c | |||
@@ -34,7 +34,7 @@ enum input_mode { | |||
34 | randconfig, | 34 | randconfig, |
35 | defconfig, | 35 | defconfig, |
36 | nonint_oldconfig, | 36 | nonint_oldconfig, |
37 | loose_nonint_oldconfig, | 37 | oldnoconfig, |
38 | } input_mode = oldaskconfig; | 38 | } input_mode = oldaskconfig; |
39 | 39 | ||
40 | char *defconfig_file; | 40 | char *defconfig_file; |
@@ -367,7 +367,7 @@ static void conf(struct menu *menu) | |||
367 | case P_MENU: | 367 | case P_MENU: |
368 | if ((input_mode == silentoldconfig || | 368 | if ((input_mode == silentoldconfig || |
369 | input_mode == nonint_oldconfig || | 369 | input_mode == nonint_oldconfig || |
370 | input_mode == loose_nonint_oldconfig) && | 370 | input_mode == oldnoconfig) && |
371 | rootEntry != menu) { | 371 | rootEntry != menu) { |
372 | check_conf(menu); | 372 | check_conf(menu); |
373 | return; | 373 | return; |
@@ -427,7 +427,7 @@ static void check_conf(struct menu *menu) | |||
427 | if (sym_is_changable(sym) || | 427 | if (sym_is_changable(sym) || |
428 | (sym_is_choice(sym) && sym_get_tristate_value(sym) == yes)) { | 428 | (sym_is_choice(sym) && sym_get_tristate_value(sym) == yes)) { |
429 | if (input_mode == nonint_oldconfig || | 429 | if (input_mode == nonint_oldconfig || |
430 | input_mode == loose_nonint_oldconfig) { | 430 | input_mode == oldnoconfig) { |
431 | if (input_mode == nonint_oldconfig && | 431 | if (input_mode == nonint_oldconfig && |
432 | sym->name && !sym_is_choice_value(sym)) { | 432 | sym->name && !sym_is_choice_value(sym)) { |
433 | if (!unset_variables) | 433 | if (!unset_variables) |
@@ -460,7 +460,7 @@ static struct option long_opts[] = { | |||
460 | {"allmodconfig", no_argument, NULL, allmodconfig}, | 460 | {"allmodconfig", no_argument, NULL, allmodconfig}, |
461 | {"randconfig", no_argument, NULL, randconfig}, | 461 | {"randconfig", no_argument, NULL, randconfig}, |
462 | {"nonint_oldconfig", no_argument, NULL, nonint_oldconfig}, | 462 | {"nonint_oldconfig", no_argument, NULL, nonint_oldconfig}, |
463 | {"loose_nonint_oldconfig", no_argument, NULL, loose_nonint_oldconfig}, | 463 | {"oldnoconfig", no_argument, NULL, oldnoconfig}, |
464 | {NULL, 0, NULL, 0} | 464 | {NULL, 0, NULL, 0} |
465 | }; | 465 | }; |
466 | 466 | ||
@@ -540,7 +540,7 @@ int main(int ac, char **av) | |||
540 | case oldaskconfig: | 540 | case oldaskconfig: |
541 | case oldconfig: | 541 | case oldconfig: |
542 | case nonint_oldconfig: | 542 | case nonint_oldconfig: |
543 | case loose_nonint_oldconfig: | 543 | case oldnoconfig: |
544 | conf_read(NULL); | 544 | conf_read(NULL); |
545 | break; | 545 | break; |
546 | case allnoconfig: | 546 | case allnoconfig: |
@@ -603,7 +603,7 @@ int main(int ac, char **av) | |||
603 | input_mode = silentoldconfig; | 603 | input_mode = silentoldconfig; |
604 | /* fall through */ | 604 | /* fall through */ |
605 | case nonint_oldconfig: | 605 | case nonint_oldconfig: |
606 | case loose_nonint_oldconfig: | 606 | case oldnoconfig: |
607 | case silentoldconfig: | 607 | case silentoldconfig: |
608 | /* Update until a loop caused no more changes */ | 608 | /* Update until a loop caused no more changes */ |
609 | do { | 609 | do { |
@@ -611,7 +611,7 @@ int main(int ac, char **av) | |||
611 | check_conf(&rootmenu); | 611 | check_conf(&rootmenu); |
612 | } while (conf_cnt && | 612 | } while (conf_cnt && |
613 | (input_mode != nonint_oldconfig && | 613 | (input_mode != nonint_oldconfig && |
614 | input_mode != loose_nonint_oldconfig)); | 614 | input_mode != oldnoconfig)); |
615 | break; | 615 | break; |
616 | } | 616 | } |
617 | 617 | ||