X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=Makefile;h=d7e4585595c023c96a683f91505d7652abed486d;hp=fffc3bf5dab101e2cee4ed0d8d98d5daeda5164d;hb=81a817a5e3df246ca87520ee40a6ec00444fe5eb;hpb=a5685a25567929dcd77878e78d38f9b1ff4c82f1 diff --git a/Makefile b/Makefile index fffc3bf5d..d7e458559 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