From: Felix Fietkau Date: Mon, 30 Jul 2007 21:47:26 +0000 (+0000) Subject: speed up the prepare step a bit X-Git-Tag: reboot~28476 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9bf7beae60928ca545ca2e10075e29faad4681fe;p=openwrt%2Fopenwrt.git speed up the prepare step a bit SVN-Revision: 8245 --- diff --git a/include/package.mk b/include/package.mk index c68bd10652..cccf17437e 100644 --- a/include/package.mk +++ b/include/package.mk @@ -32,7 +32,7 @@ ifeq ($(DUMP)$(filter prereq clean refresh update,$(MAKECMDGOALS)),) define Build/Autoclean $(PKG_BUILD_DIR)/.dep_files: $(STAMP_PREPARED) $(call rdep,${CURDIR} $(PKG_FILE_DEPEND),$(STAMP_PREPARED)) - $(call rdep,$(PKG_BUILD_DIR),$(STAMP_BUILT),$(PKG_BUILD_DIR)/.dep_files, -and -not -path "/.*" -and -not -path "*/ipkg*") + $(if $(filter prepare,$(MAKECMDGOALS)),,$(call rdep,$(PKG_BUILD_DIR),$(STAMP_BUILT),$(PKG_BUILD_DIR)/.dep_files, -and -not -path "/.*" -and -not -path "*/ipkg*")) endef endif endif