same for host builds
authorFelix Fietkau <nbd@openwrt.org>
Mon, 30 Jul 2007 21:48:39 +0000 (21:48 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 30 Jul 2007 21:48:39 +0000 (21:48 +0000)
SVN-Revision: 8246

include/host-build.mk

index d834465..e934c91 100644 (file)
@@ -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