Changeset 36916


Ignore:
Timestamp:
2013-06-11T14:56:03+02:00 (5 years ago)
Author:
nbd
Message:

build: clean up stale files from a previous build when installing a package build to the staging dir

Signed-off-by: Felix Fietkau <nbd@…>

Backport of r36755

Location:
branches/attitude_adjustment
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/attitude_adjustment/include/package.mk

    r33445 r36916  
    170170                $(call $(hook),$(TMP_DIR)/stage-$(PKG_NAME),$(TMP_DIR)/stage-$(PKG_NAME)/host)$(sep)\ 
    171171        ) 
     172        if [ -f $(STAGING_DIR)/packages/$(STAGING_FILES_LIST) ]; then \ 
     173                $(SCRIPT_DIR)/clean-package.sh \ 
     174                        "$(STAGING_DIR)/packages/$(STAGING_FILES_LIST)" \ 
     175                        "$(STAGING_DIR)"; \ 
     176        fi 
    172177        if [ -d $(TMP_DIR)/stage-$(PKG_NAME) ]; then \ 
    173178                (cd $(TMP_DIR)/stage-$(PKG_NAME); find ./ > $(TMP_DIR)/stage-$(PKG_NAME).files); \ 
Note: See TracChangeset for help on using the changeset viewer.