aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorWang YanQing <udknight@gmail.com>2012-01-11 22:31:32 -0500
committerMichal Marek <mmarek@suse.cz>2012-01-14 15:54:32 -0500
commitc55ac154019f628b42316bc21545ee1b2bee3db6 (patch)
tree40c405f7d244746e461d6e3cfe32d1b846fdc6a3 /scripts/kconfig
parent320d41bb1597799669bab28a047f9868dd754aca (diff)
menuconfig: let make not report error when not save configuration
I find every time when I choice the 'NO' button at the dialog which let me choice whether to save the configuration before exit menuconfig, it always report the blow: " GEN /mnt/sda7/home/build/test/Makefile HOSTCC scripts/kconfig/mconf.o HOSTLD scripts/kconfig/mconf scripts/kconfig/mconf Kconfig Your configuration changes were NOT saved. make[2]: *** [menuconfig] Error 1 make[1]: *** [menuconfig] Error 2 make: *** [sub-make] Error 2 " This patch repair it. Signed-off-by: Wang YanQing <udknight@gmail.com> Acked-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/mconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 19e200d91120..86cd1ea35579 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -830,6 +830,7 @@ static int handle_exit(void)
830 fprintf(stderr, _("\n\n" 830 fprintf(stderr, _("\n\n"
831 "Your configuration changes were NOT saved." 831 "Your configuration changes were NOT saved."
832 "\n\n")); 832 "\n\n"));
833 res = 0;
833 } 834 }
834 835
835 return res; 836 return res;