summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <abdoulaye.gaye@supmeca.fr>2009-09-28 17:44:18 +0200
committerAbdoulaye Walsimou Gaye <abdoulaye.gaye@supmeca.fr>2009-09-28 17:59:20 +0200
commit27820d3c226a58c05647dd0fef25d6809b4a7426 (patch)
treee6faca05e76b5726a140fb6a696cc8f507044f28
parent8e59f73d57317db0f7686e6e58b02fc00fbbf4de (diff)
downloadembtoolkit-27820d3c226a58c05647dd0fef25d6809b4a7426.tar.gz
embtoolkit-27820d3c226a58c05647dd0fef25d6809b4a7426.tar.bz2
embtoolkit-27820d3c226a58c05647dd0fef25d6809b4a7426.tar.xz
clean target: do not remove packages downloaded and remove only currently selected arch components
Signed-off-by: Abdoulaye Walsimou Gaye <abdoulaye.gaye@supmeca.fr>
-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)*