Use new stuff from patch 1/4 to omit weired
"Do you wish to save your new kernel configuration?" question.


Signed-off-by: Karsten Wiese <[EMAIL PROTECTED]>



diff -pur 2.6.18/scripts/kconfig/mconf.c rt3-kw/scripts/kconfig/mconf.c
--- 2.6.18/scripts/kconfig/mconf.c      2006-06-18 03:49:35.000000000 +0200
+++ 2.6.18-kw/scripts/kconfig/mconf.c   2006-09-24 14:24:53.000000000 +0200
@@ -1067,14 +1067,17 @@ int main(int ac, char **av)
        init_wsize();
        conf(&rootmenu);
 
-       do {
-               cprint_init();
-               cprint("--yesno");
-               cprint(_("Do you wish to save your new kernel configuration?"));
-               cprint("5");
-               cprint("60");
-               stat = exec_conf();
-       } while (stat < 0);
+       if (sym_change_count())
+               do {
+                       cprint_init();
+                       cprint("--yesno");
+                       cprint(_("Do you wish to save your new kernel 
configuration?"));
+                       cprint("5");
+                       cprint("60");
+                       stat = exec_conf();
+               } while (stat < 0);
+       else
+               goto end_msg;
 
        if (stat == 0) {
                if (conf_write(NULL)) {
@@ -1084,6 +1087,7 @@ int main(int ac, char **av)
                                "\n\n"));
                        return 1;
                }
+end_msg:
                printf(_("\n\n"
                        "*** End of Linux kernel configuration.\n"
                        "*** Execute 'make' to build the kernel or try 'make 
help'."

                
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to