lkml.org 
[lkml]   [2012]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] scripts:kconfig:mconf.c: let make not report error when not save configuration
From
Date
On Thu, 2012-01-12 at 11:31 +0800, Wang YanQing wrote:
> 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.
>
> Thanks!
>
> Signed-off-by: Wang YanQing <udknight@gmail.com>

Acked-by: Davidlohr Bueso <dave@gnu.org>

> ---
> scripts/kconfig/mconf.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
> index 19e200d..86cd1ea 100644
> --- a/scripts/kconfig/mconf.c
> +++ b/scripts/kconfig/mconf.c
> @@ -830,6 +830,7 @@ static int handle_exit(void)
> fprintf(stderr, _("\n\n"
> "Your configuration changes were NOT saved."
> "\n\n"));
> + res = 0;
> }
>
> return res;




\
 
 \ /
  Last update: 2012-01-12 21:53    [W:0.037 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site