summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/rootfs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/rootfs.mk b/mk/rootfs.mk
index 3ccdb54..96c011a 100644
--- a/mk/rootfs.mk
+++ b/mk/rootfs.mk
@@ -56,6 +56,7 @@ rootfs_build:
$(call EMBTK_GENERIC_MESSAGE,"Building selected root filesystems...")
@$(MAKE) rootfs_clean mkinitialrootfs $(ROOTFS_HOSTTOOLS) \
$(ROOTFS_COMPONENTS) rootfs_fill build_tarbz2_rootfs $(FILESYSTEMS)
+ $(Q)rm -rf $(ROOTFS)
$(call EMBTK_GENERIC_MESSAGE,"Build of selected root filesystems \
ended successfully!")