get rid of old data before staging unstripped package binaries
authorFelix Fietkau <nbd@openwrt.org>
Thu, 3 Sep 2009 01:10:37 +0000 (01:10 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 3 Sep 2009 01:10:37 +0000 (01:10 +0000)
SVN-Revision: 17498

include/package-ipkg.mk

index 4409f239ae2c1948f3aa55afb79f37d90454bf07..58c209d24278185ce89b69855943da379b9a6a78 100644 (file)
@@ -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))