mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
optimize the .config dependency chain in the toplevel makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14740 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8e52b00c08
commit
f297cbb2d1
@ -49,7 +49,7 @@ prepare-tmpinfo: FORCE
|
||||
./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
|
||||
touch $(TOPDIR)/tmp/.build
|
||||
|
||||
.config: ./scripts/config/conf prepare-tmpinfo $(if $(CONFIG_HAVE_DOT_CONFIG),,FORCE)
|
||||
.config: ./scripts/config/conf $(if $(CONFIG_HAVE_DOT_CONFIG),,prepare-tmpinfo)
|
||||
@+if [ \! -e .config ] || ! grep CONFIG_HAVE_DOT_CONFIG .config >/dev/null; then \
|
||||
[ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
|
||||
$(_SINGLE)$(NO_TRACE_MAKE) menuconfig $(PREP_MK); \
|
||||
@ -106,7 +106,7 @@ download: .config FORCE
|
||||
clean dirclean: .config
|
||||
@+$(SUBMAKE) -r $@
|
||||
|
||||
prereq:: .config
|
||||
prereq:: prepare-tmpinfo .config
|
||||
@+$(MAKE) -r -s tmp/.prereq-build $(PREP_MK)
|
||||
@+$(NO_TRACE_MAKE) -r -s $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user