From: Felix Fietkau Date: Mon, 11 Jun 2007 17:19:43 +0000 (+0000) Subject: only apply recursive deps if DUMP is unset X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ca0140018bda8f82f2768f3ff80526c0e1a0a22a;p=openwrt%2Fstaging%2Fldir.git only apply recursive deps if DUMP is unset SVN-Revision: 7572 --- 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