aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-03 01:10:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-03 01:10:37 +0000
commit848413fba44c9ddb915c03d93e93b2df51f6567a (patch)
tree6ec64d0633d8c80835ee78a9268fb87cfe38a728 /include
parenta014ef6f93edbe8f4ea85c3bcc468db513564dc2 (diff)
downloadmaster-187ad058-848413fba44c9ddb915c03d93e93b2df51f6567a.tar.gz
master-187ad058-848413fba44c9ddb915c03d93e93b2df51f6567a.tar.bz2
master-187ad058-848413fba44c9ddb915c03d93e93b2df51f6567a.zip
get rid of old data before staging unstripped package binaries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17498 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/package-ipkg.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 4409f239ae..58c209d242 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -59,6 +59,7 @@ ifeq ($(DUMP),)
$(eval $(call BuildIPKGVariable,$(1),postrm))
$(STAGING_DIR_ROOT)/stamp/.$(1)_installed: $(STAMP_BUILT)
+ rm -rf $(STAGING_DIR_ROOT)/tmp-$(1)
mkdir -p $(STAGING_DIR_ROOT)/stamp $(STAGING_DIR_ROOT)/tmp-$(1)
$(call Package/$(1)/install,$(STAGING_DIR_ROOT)/tmp-$(1))
$(call Package/$(1)/install_lib,$(STAGING_DIR_ROOT)/tmp-$(1))