mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
use ~/.openwrt/defconfig as default config if it exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6876 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
622ea9fa13
commit
4c55426589
7
Makefile
7
Makefile
@ -62,7 +62,10 @@ tmp/.config-%.in: tmp/.%info
|
|||||||
|
|
||||||
|
|
||||||
.config: ./scripts/config/conf tmp/.config-target.in tmp/.config-package.in
|
.config: ./scripts/config/conf tmp/.config-target.in tmp/.config-package.in
|
||||||
@[ -f .config ] || $(NO_TRACE_MAKE) menuconfig
|
@[ -f .config ] || { \
|
||||||
|
[ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
|
||||||
|
$(NO_TRACE_MAKE) menuconfig; \
|
||||||
|
}
|
||||||
@$< -D .config Config.in &> /dev/null
|
@$< -D .config Config.in &> /dev/null
|
||||||
|
|
||||||
scripts/config/mconf:
|
scripts/config/mconf:
|
||||||
@ -87,6 +90,8 @@ oldconfig: scripts/config/conf tmp/.config-target.in tmp/.config-package.in FORC
|
|||||||
$< -o Config.in
|
$< -o Config.in
|
||||||
|
|
||||||
menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FORCE
|
menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FORCE
|
||||||
|
@[ -f .config ] || \
|
||||||
|
[ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config
|
||||||
$< Config.in
|
$< Config.in
|
||||||
|
|
||||||
kernel_menuconfig: .config FORCE
|
kernel_menuconfig: .config FORCE
|
||||||
|
Loading…
Reference in New Issue
Block a user