Skip to content
Snippets Groups Projects
Select Git revision
  • 7401d02ca4e644e709f9562474bfb7eff1ddf31c
  • v2018.2.x default
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
42 results

0030-build-define-STAMP_CONFIGURED-recursively.patch

Blame
  • Forked from firmware / FFS Gluon
    4911 commits behind the upstream repository.
    user avatar
    Matthias Schiffer authored
    7401d02c
    History
    0030-build-define-STAMP_CONFIGURED-recursively.patch 1.31 KiB
    From: Matthias Schiffer <mschiffer@universe-factory.net>
    Date: Wed, 18 Mar 2015 20:07:22 +0100
    Subject: build: define STAMP_CONFIGURED recursively
    
    Defining STAMP_CONFIGURED statically caused it not to reflect changes to
    PKG_CONFIG_DEPENDS made after including package.mk, like the additional options
    added by feeds.mk for all packages.
    
    Furthermore, as STAMP_CONFIGURED_WILDCARD was already defined recursively, the
    patsubst in its definition would never match, and in consequence, the stamps
    were never removed. This caused packages not to be rebuilt when they should have
    been.
    
    diff --git a/include/package.mk b/include/package.mk
    index 53ca6de..402fb1a 100644
    --- a/include/package.mk
    +++ b/include/package.mk
    @@ -60,7 +60,7 @@ ifneq ($(PREV_STAMP_PREPARED),)
     else
       STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))$(call confvar,$(PKG_PREPARED_DEPENDS)))
     endif
    -STAMP_CONFIGURED:=$(PKG_BUILD_DIR)/.configured$(if $(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS)))
    +STAMP_CONFIGURED=$(PKG_BUILD_DIR)/.configured$(if $(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS)))
     STAMP_CONFIGURED_WILDCARD=$(patsubst %_$(call confvar,$(PKG_CONFIG_DEPENDS)),%_*,$(STAMP_CONFIGURED))
     STAMP_BUILT:=$(PKG_BUILD_DIR)/.built
     STAMP_INSTALLED:=$(STAGING_DIR)/stamp/.$(PKG_NAME)_installed