summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-30 21:47:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-30 21:47:26 +0000
commit9bf7beae60928ca545ca2e10075e29faad4681fe (patch)
tree89041364ba4f380d145a62432670b6863272c618 /include
parent88163e91e8a5b27947f8c2f12f426b29a3d639aa (diff)
downloadmtk-20170518-9bf7beae60928ca545ca2e10075e29faad4681fe.zip
mtk-20170518-9bf7beae60928ca545ca2e10075e29faad4681fe.tar.gz
mtk-20170518-9bf7beae60928ca545ca2e10075e29faad4681fe.tar.bz2
speed up the prepare step a bit
SVN-Revision: 8245
Diffstat (limited to 'include')
-rw-r--r--include/package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index c68bd10..cccf174 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