From fd7936552c4c8c1f6cc6c4b9f62e09f0d90e946f Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 3 Mar 2011 00:18:23 +0000 Subject: [PATCH] merge autorebuild override change from r25838 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25839 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/package.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/package.mk b/include/package.mk index 36a1800c2..21b3bff33 100644 --- a/include/package.mk +++ b/include/package.mk @@ -16,7 +16,14 @@ include $(INCLUDE_DIR)/host.mk include $(INCLUDE_DIR)/unpack.mk include $(INCLUDE_DIR)/depends.mk -STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))) +STAMP_NO_AUTOREBUILD=$(wildcard $(PKG_BUILD_DIR)/.no_autorebuild) +PREV_STAMP_PREPARED:=$(if $(STAMP_NO_AUTOREBUILD),$(wildcard $(PKG_BUILD_DIR)/.prepared*)) +ifneq ($(PREV_STAMP_PREPARED),) + STAMP_PREPARED:=$(PREV_STAMP_PREPARED) + CONFIG_AUTOREBUILD:= +else + STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))) +endif STAMP_CONFIGURED:=$(PKG_BUILD_DIR)/.configured$(if $(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS))) STAMP_BUILT:=$(PKG_BUILD_DIR)/.built STAMP_INSTALLED:=$(STAGING_DIR)/stamp/.$(PKG_NAME)_installed