summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/initialpath.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/initialpath.mk b/mk/initialpath.mk
index a334044..9342ccf 100644
--- a/mk/initialpath.mk
+++ b/mk/initialpath.mk
@@ -66,6 +66,7 @@ ifeq ($(CONFIG_EMBTK_HAVE_ROOTFS),y)
endif
rmallpath:
- @rm -Rf build rootfs-* sysroot-* tools-* initramfs-*
- @rm -Rf $(EMBTK_ROOT)/dl/*
+ @rm -Rf $(PACKAGES_BUILD) $(ROOTFS) $(TOOLS) $(TOOLS_BUILD) $(SYSROOT)
+ @rm -Rf rootfs-$(GNU_TARGET)-$(EMBTK_MCU_FLAG)*
+ @rm -Rf initramfs-$(GNU_TARGET)-$(EMBTK_MCU_FLAG)*