aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-07 11:03:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-07 11:03:05 +0000
commit4975d737e7cfe689978fdb2f41a7f2da2a1b7150 (patch)
tree115e39054eff8f7dd4e21907bb0a1ef8c53ba1d5 /Makefile
parentda1dc82257baa2cd908f4779d6846e8b48bf06b5 (diff)
downloadupstream-4975d737e7cfe689978fdb2f41a7f2da2a1b7150.tar.gz
upstream-4975d737e7cfe689978fdb2f41a7f2da2a1b7150.tar.bz2
upstream-4975d737e7cfe689978fdb2f41a7f2da2a1b7150.zip
fix menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6881 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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