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 c3e2b6f..9097d7b 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