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
commitd1f1ff5759c58a19688a4ef0c44e92c46630fe74 (patch)
tree452a01dc73f910fb30d7d72660c4a4aa86e2aa4a /include
parente6ceb1cacecee94cadffd0c4cab677c0d21e452e (diff)
downloadupstream-d1f1ff5759c58a19688a4ef0c44e92c46630fe74.tar.gz
upstream-d1f1ff5759c58a19688a4ef0c44e92c46630fe74.tar.bz2
upstream-d1f1ff5759c58a19688a4ef0c44e92c46630fe74.zip
get rid of old data before staging unstripped package binaries
SVN-Revision: 17498
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))