.config: ./scripts/config/conf tmp/.config-target.in tmp/.config-package.in
- @[ -f .config ] || $(NO_TRACE_MAKE) menuconfig
+ @if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \
+ cp $(HOME)/.openwrt/defconfig .config; \
+ $(NO_TRACE_MAKE) menuconfig; \
+ fi
@$< -D .config Config.in &> /dev/null
scripts/config/mconf:
$< -o Config.in
menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FORCE
+ @if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \
+ cp $(HOME)/.openwrt/defconfig .config; \
+ fi
$< Config.in
kernel_menuconfig: .config FORCE