From b0d4ac6f4d827ac4a07c95515c406392bc4fe322 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 3 Sep 2009 01:10:37 +0000 Subject: [PATCH] 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 --- include/package-ipkg.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 4409f239a..58c209d24 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)) -- 2.20.1