aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/conf.c')
-rw-r--r--scripts/kconfig/conf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index ff5c914c0e5c..c8bd33cb3bf7 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -27,6 +27,7 @@ enum input_mode {
27 allnoconfig, 27 allnoconfig,
28 allyesconfig, 28 allyesconfig,
29 allmodconfig, 29 allmodconfig,
30 alldefconfig,
30 randconfig, 31 randconfig,
31 defconfig, 32 defconfig,
32 listnewconfig, 33 listnewconfig,
@@ -446,6 +447,7 @@ static struct option long_opts[] = {
446 {"allnoconfig", no_argument, NULL, allnoconfig}, 447 {"allnoconfig", no_argument, NULL, allnoconfig},
447 {"allyesconfig", no_argument, NULL, allyesconfig}, 448 {"allyesconfig", no_argument, NULL, allyesconfig},
448 {"allmodconfig", no_argument, NULL, allmodconfig}, 449 {"allmodconfig", no_argument, NULL, allmodconfig},
450 {"alldefconfig", no_argument, NULL, alldefconfig},
449 {"randconfig", no_argument, NULL, randconfig}, 451 {"randconfig", no_argument, NULL, randconfig},
450 {"listnewconfig", no_argument, NULL, listnewconfig}, 452 {"listnewconfig", no_argument, NULL, listnewconfig},
451 {"oldnoconfig", no_argument, NULL, oldnoconfig}, 453 {"oldnoconfig", no_argument, NULL, oldnoconfig},
@@ -534,6 +536,7 @@ int main(int ac, char **av)
534 case allnoconfig: 536 case allnoconfig:
535 case allyesconfig: 537 case allyesconfig:
536 case allmodconfig: 538 case allmodconfig:
539 case alldefconfig:
537 case randconfig: 540 case randconfig:
538 name = getenv("KCONFIG_ALLCONFIG"); 541 name = getenv("KCONFIG_ALLCONFIG");
539 if (name && !stat(name, &tmpstat)) { 542 if (name && !stat(name, &tmpstat)) {
@@ -544,6 +547,7 @@ int main(int ac, char **av)
544 case allnoconfig: name = "allno.config"; break; 547 case allnoconfig: name = "allno.config"; break;
545 case allyesconfig: name = "allyes.config"; break; 548 case allyesconfig: name = "allyes.config"; break;
546 case allmodconfig: name = "allmod.config"; break; 549 case allmodconfig: name = "allmod.config"; break;
550 case alldefconfig: name = "alldef.config"; break;
547 case randconfig: name = "allrandom.config"; break; 551 case randconfig: name = "allrandom.config"; break;
548 default: break; 552 default: break;
549 } 553 }
@@ -578,6 +582,9 @@ int main(int ac, char **av)
578 case allmodconfig: 582 case allmodconfig:
579 conf_set_all_new_symbols(def_mod); 583 conf_set_all_new_symbols(def_mod);
580 break; 584 break;
585 case alldefconfig:
586 conf_set_all_new_symbols(def_default);
587 break;
581 case randconfig: 588 case randconfig:
582 conf_set_all_new_symbols(def_random); 589 conf_set_all_new_symbols(def_random);
583 break; 590 break;