menuconfig: let make not report error when not save configuration
authorWang YanQing <udknight@gmail.com>
Thu, 12 Jan 2012 03:31:32 +0000 (11:31 +0800)
committerMichal Marek <mmarek@suse.cz>
Sat, 14 Jan 2012 20:54:32 +0000 (21:54 +0100)
commitc55ac154019f628b42316bc21545ee1b2bee3db6
tree40c405f7d244746e461d6e3cfe32d1b846fdc6a3
parent320d41bb1597799669bab28a047f9868dd754aca
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>
scripts/kconfig/mconf.c