diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-11 17:19:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-11 17:19:43 +0000 |
commit | ca0140018bda8f82f2768f3ff80526c0e1a0a22a (patch) | |
tree | ecd148d17b27018379365f5921efc39a5621871c /include/package.mk | |
parent | 0c8cccc9f7029b25cda263bf6460d75e4d88d6d1 (diff) | |
download | mtk-20170518-ca0140018bda8f82f2768f3ff80526c0e1a0a22a.zip mtk-20170518-ca0140018bda8f82f2768f3ff80526c0e1a0a22a.tar.gz mtk-20170518-ca0140018bda8f82f2768f3ff80526c0e1a0a22a.tar.bz2 |
only apply recursive deps if DUMP is unset
SVN-Revision: 7572
Diffstat (limited to 'include/package.mk')
-rw-r--r-- | include/package.mk | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/package.mk b/include/package.mk index daff3ed..8953061 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 |