[source] build: include CONFIG_AUTOREMOVE in STAMP_PREPARED

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 19 02:37:29 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/86a72765b971844c72d920453869a9acca6efddc

commit 86a72765b971844c72d920453869a9acca6efddc
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Jan 19 11:37:02 2017 +0100

    build: include CONFIG_AUTOREMOVE in STAMP_PREPARED
    
    Fixes build issues when changing the CONFIG_AUTOREMOVE setting
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 include/package.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/package.mk b/include/package.mk
index b88f2c5..6e24788 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -57,7 +57,7 @@ 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),))$(call confvar,$(PKG_PREPARED_DEPENDS)))
+  STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))_$(call confvar,CONFIG_AUTOREMOVE $(PKG_PREPARED_DEPENDS)))
 endif
 STAMP_CONFIGURED=$(PKG_BUILD_DIR)/.configured$(if $(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS)))
 STAMP_CONFIGURED_WILDCARD=$(PKG_BUILD_DIR)/.configured_*



More information about the lede-commits mailing list