From: Mike Baker Date: Sat, 7 Apr 2007 10:31:46 +0000 (+0000) Subject: fix menuconfig checks X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=5e42783559a06133e33601344a0222e49d58aee5;p=openwrt%2Fstaging%2Fyousong.git fix menuconfig checks SVN-Revision: 6879 --- diff --git a/Makefile b/Makefile index 43ed005b8a..fffc3bf5da 100644 --- a/Makefile +++ b/Makefile @@ -90,8 +90,9 @@ oldconfig: scripts/config/conf tmp/.config-target.in tmp/.config-package.in FORC $< -o Config.in menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FORCE - @[ -f .config ] || \ - [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config + @[ -f .config ] || { \ + [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \ + } $< Config.in kernel_menuconfig: .config FORCE