Changeset 28770


Ignore:
Timestamp:
2011-11-05T20:09:40+01:00 (6 years ago)
Author:
nbd
Message:

build: improve reliability of PKG_CONFIG_DEPENDS, remove old .configured_* stamps before creating a new one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/package.mk

    r28395 r28770  
    3434endif 
    3535STAMP_CONFIGURED:=$(PKG_BUILD_DIR)/.configured$(if $(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS))) 
     36STAMP_CONFIGURED_WILDCARD=$(patsubst %_$(call confvar,$(PKG_CONFIG_DEPENDS)),%_*,$(STAMP_CONFIGURED)) 
    3637STAMP_BUILT:=$(PKG_BUILD_DIR)/.built 
    3738STAMP_INSTALLED:=$(STAGING_DIR)/stamp/.$(PKG_NAME)_installed 
     
    132133        $(Build/Configure) 
    133134        $(foreach hook,$(Hooks/Configure/Post),$(call $(hook))$(sep)) 
     135        rm -f $(STAMP_CONFIGURED_WILDCARD) 
    134136        touch $$@ 
    135137 
Note: See TracChangeset for help on using the changeset viewer.