fix menuconfig checks

SVN-Revision: 6879
This commit is contained in:
Mike Baker 2007-04-07 10:31:46 +00:00
parent 3c4dd6fb02
commit 5e42783559
1 changed files with 3 additions and 2 deletions

View File

@ -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