optimize the .config dependency chain in the toplevel makefile
SVN-Revision: 14740
This commit is contained in:
parent
431c9267b4
commit
88f6e9f9fd
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ prepare-tmpinfo: FORCE
|
||||||
./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
|
./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
|
||||||
touch $(TOPDIR)/tmp/.build
|
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 \
|
@+if [ \! -e .config ] || ! grep CONFIG_HAVE_DOT_CONFIG .config >/dev/null; then \
|
||||||
[ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
|
[ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
|
||||||
$(_SINGLE)$(NO_TRACE_MAKE) menuconfig $(PREP_MK); \
|
$(_SINGLE)$(NO_TRACE_MAKE) menuconfig $(PREP_MK); \
|
||||||
|
@ -106,7 +106,7 @@ download: .config FORCE
|
||||||
clean dirclean: .config
|
clean dirclean: .config
|
||||||
@+$(SUBMAKE) -r $@
|
@+$(SUBMAKE) -r $@
|
||||||
|
|
||||||
prereq:: .config
|
prereq:: prepare-tmpinfo .config
|
||||||
@+$(MAKE) -r -s tmp/.prereq-build $(PREP_MK)
|
@+$(MAKE) -r -s tmp/.prereq-build $(PREP_MK)
|
||||||
@+$(NO_TRACE_MAKE) -r -s $@
|
@+$(NO_TRACE_MAKE) -r -s $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue