summaryrefslogtreecommitdiff
path: root/mk/initialpath.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-12-06 21:21:53 +0100
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-12-06 21:21:53 +0100
commitc37cefd9d10ea9c8f76b1716d4e3db5b5f187e43 (patch)
treef047a1af12e75fb97fbc4b7c6adb1fb28339baae /mk/initialpath.mk
parent9927127f9b5dca4f649c073d31be09d78ed6273f (diff)
downloadembtoolkit-c37cefd9d10ea9c8f76b1716d4e3db5b5f187e43.tar.gz
embtoolkit-c37cefd9d10ea9c8f76b1716d4e3db5b5f187e43.tar.bz2
embtoolkit-c37cefd9d10ea9c8f76b1716d4e3db5b5f187e43.tar.xz
EMBTK: give ability to cache downloaded patches
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/initialpath.mk')
-rw-r--r--mk/initialpath.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/initialpath.mk b/mk/initialpath.mk
index c21b360..9dd1880 100644
--- a/mk/initialpath.mk
+++ b/mk/initialpath.mk
@@ -69,6 +69,8 @@ rmallpath:
@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)*
+ifneq ($(CONFIG_EMBTK_CACHE_PATCHES),y)
@rm -rf $(DOWNLOAD_DIR)/*.patch
+endif
@rm -rf $(DOWNLOAD_DIR)/eglibc-*