summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-11 17:19:43 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-11 17:19:43 +0000
commitfbbcef7317f2a4038626031f8153fbd48c9b50f3 (patch)
tree45df138273ae631e004b2a59236dac495c13cf9f
parentc9c60d5d8c09c1cf7daed58a49bf9e275ecf79f8 (diff)
only apply recursive deps if DUMP is unset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7572 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/package.mk14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/package.mk b/include/package.mk
index daff3ed0d..89530616e 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -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