Parcourir la source

get rid of old data before staging unstripped package binaries

SVN-Revision: 17498
Felix Fietkau il y a 16 ans
Parent
commit
d1f1ff5759
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      include/package-ipkg.mk

+ 1 - 0
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))