From ca0140018bda8f82f2768f3ff80526c0e1a0a22a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 11 Jun 2007 17:19:43 +0000 Subject: [PATCH] only apply recursive deps if DUMP is unset SVN-Revision: 7572 --- include/package.mk | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/include/package.mk b/include/package.mk index daff3ed0d6..89530616e4 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 -- 2.25.1