only apply recursive deps if DUMP is unset
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 Jun 2007 17:19:43 +0000 (17:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 11 Jun 2007 17:19:43 +0000 (17:19 +0000)
SVN-Revision: 7572

include/package.mk

index daff3ed0d6f444bdaa82683d4dfe3a3c54b329ed..89530616e4d28fea6b6bbadc40ce287603f1584b 100644 (file)
@@ -26,12 +26,14 @@ include $(INCLUDE_DIR)/package-ipkg.mk
 
 export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)
 
-ifneq ($(CONFIG_AUTOREBUILD),)
-  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*")
-  endef
+ifeq ($(DUMP),)
+  ifneq ($(CONFIG_AUTOREBUILD),)
+    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*")
+    endef
+  endif
 endif
 
 define Build/DefaultTargets