aboutsummaryrefslogtreecommitdiffstats
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
parent9bf7beae60928ca545ca2e10075e29faad4681fe (diff)
downloadupstream-7b6d8470c6446f98afe2aa9db91936328f60cc26.tar.gz
upstream-7b6d8470c6446f98afe2aa9db91936328f60cc26.tar.bz2
upstream-7b6d8470c6446f98afe2aa9db91936328f60cc26.zip
same for host builds
SVN-Revision: 8246
-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 d83446558e..e934c91c66 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