From: nbd Date: Mon, 11 Jun 2007 17:19:43 +0000 (+0000) Subject: only apply recursive deps if DUMP is unset X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/fbbcef7317f2a4038626031f8153fbd48c9b50f3?hp=c9c60d5d8c09c1cf7daed58a49bf9e275ecf79f8 only apply recursive deps if DUMP is unset git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7572 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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