summaryrefslogtreecommitdiff
path: root/include/host-build.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-30 21:48:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-30 21:48:39 +0000
commit7b6d8470c6446f98afe2aa9db91936328f60cc26 (patch)
tree73e900008bae878e2307884ce79b38d010e74f45 /include/host-build.mk
parent9bf7beae60928ca545ca2e10075e29faad4681fe (diff)
downloadmtk-20170518-7b6d8470c6446f98afe2aa9db91936328f60cc26.zip
mtk-20170518-7b6d8470c6446f98afe2aa9db91936328f60cc26.tar.gz
mtk-20170518-7b6d8470c6446f98afe2aa9db91936328f60cc26.tar.bz2
same for host builds
SVN-Revision: 8246
Diffstat (limited to 'include/host-build.mk')
-rw-r--r--include/host-build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index d834465..e934c91 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -84,7 +84,7 @@ ifneq ($(CONFIG_AUTOREBUILD),)
define HostBuild/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