From 04f18846a36ee7e7a510dbafa10be5ef6256d91b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 7 Apr 2007 11:03:05 +0000 Subject: [PATCH] fix menuconfig SVN-Revision: 6881 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fffc3bf5da..d7e4585595 100644 --- a/Makefile +++ b/Makefile @@ -90,9 +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; \ - } + @if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \ + cp $(HOME)/.openwrt/defconfig .config; \ + fi $< Config.in kernel_menuconfig: .config FORCE -- 2.30.2