clean up after staging packages
authorFelix Fietkau <nbd@openwrt.org>
Tue, 25 Dec 2007 02:19:48 +0000 (02:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 25 Dec 2007 02:19:48 +0000 (02:19 +0000)
SVN-Revision: 9909

include/package.mk

index c3e2b6f481b908ee3d08874e8201cec032d97e94..9097d7b0bf6ed85c2c593ff6a460f5e191603a12 100644 (file)
@@ -82,6 +82,7 @@ define Build/DefaultTargets
                (cd $(TMP_DIR)/stage-$(PKG_NAME)/host; find > $(STAGING_DIR_HOST)/packages/$(PKG_NAME).list); \
                $(CP) $(TMP_DIR)/stage-$(PKG_NAME)/host/* $(STAGING_DIR_HOST)/; \
        fi
+       rm -rf $(TMP_DIR)/stage-$(PKG_NAME)
        touch $$@
 
   ifdef Build/InstallDev