From: Felix Fietkau Date: Thu, 3 Sep 2009 01:10:37 +0000 (+0000) Subject: get rid of old data before staging unstripped package binaries X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=1c5b0792592690c639947e11e9f8b7a954595029 get rid of old data before staging unstripped package binaries SVN-Revision: 17498 --- 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))