summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/package.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index c3e2b6f48..9097d7b0b 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -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