summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-01-21 03:17:22 (UTC)
committer llornkcor <llornkcor>2003-01-21 03:17:22 (UTC)
commit39491a189517289bb0bdd88bf2d1776d25168239 (patch) (unidiff)
tree899c1255612bd50b398b8c9449b20eed0878aa15
parent6998d9a576bcfc137ae243a7b64fe9e668e7339f (diff)
downloadopie-39491a189517289bb0bdd88bf2d1776d25168239.zip
opie-39491a189517289bb0bdd88bf2d1776d25168239.tar.gz
opie-39491a189517289bb0bdd88bf2d1776d25168239.tar.bz2
change Linux Kernel Configuration string
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/kconfig/mconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index eba5ff7..26a94e7 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -735,25 +735,25 @@ static void conf_cleanup(void)
735 735
736int main(int ac, char **av) 736int main(int ac, char **av)
737{ 737{
738 struct symbol *sym; 738 struct symbol *sym;
739 char *mode; 739 char *mode;
740 int stat; 740 int stat;
741 741
742 conf_parse(av[1]); 742 conf_parse(av[1]);
743 conf_read(NULL); 743 conf_read(NULL);
744 744
745 sym = sym_lookup("KERNELRELEASE", 0); 745 sym = sym_lookup("KERNELRELEASE", 0);
746 sym_calc_value(sym); 746 sym_calc_value(sym);
747 sprintf(menu_backtitle, "Linux Kernel v%s Configuration", 747 sprintf(menu_backtitle, "Opie %s Configuration",
748 sym_get_string_value(sym)); 748 sym_get_string_value(sym));
749 749
750 mode = getenv("MENUCONFIG_MODE"); 750 mode = getenv("MENUCONFIG_MODE");
751 if (mode) { 751 if (mode) {
752 if (!strcasecmp(mode, "single_menu")) 752 if (!strcasecmp(mode, "single_menu"))
753 single_menu_mode = 1; 753 single_menu_mode = 1;
754 } 754 }
755 755
756 tcgetattr(1, &ios_org); 756 tcgetattr(1, &ios_org);
757 atexit(conf_cleanup); 757 atexit(conf_cleanup);
758 init_wsize(); 758 init_wsize();
759 conf(&rootmenu); 759 conf(&rootmenu);
@@ -761,20 +761,20 @@ int main(int ac, char **av)
761 do { 761 do {
762 cprint_init(); 762 cprint_init();
763 cprint("--yesno"); 763 cprint("--yesno");
764 cprint("Do you wish to save your new configuration?"); 764 cprint("Do you wish to save your new configuration?");
765 cprint("5"); 765 cprint("5");
766 cprint("60"); 766 cprint("60");
767 stat = exec_conf(); 767 stat = exec_conf();
768 } while (stat < 0); 768 } while (stat < 0);
769 769
770 if (stat == 0) { 770 if (stat == 0) {
771 conf_write(NULL); 771 conf_write(NULL);
772 printf("\n\n" 772 printf("\n\n"
773 "*** End of Linux kernel configuration.\n" 773 "*** End of Opie configuration.\n"
774 "*** Check the top-level Makefile for additional configuration.\n" 774 "*** Check the top-level Makefile for additional configuration.\n"
775 "*** Next, you may run 'make bzImage', 'make bzdisk', or 'make install'.\n\n"); 775 "*** Next, you may run 'makee'.\n\n");
776 } else 776 } else
777 printf("\n\nYour kernel configuration changes were NOT saved.\n\n"); 777 printf("\n\nYour Opie configuration changes were NOT saved.\n\n");
778 778
779 return 0; 779 return 0;
780} 780}