Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] core: do not remove dl/ directory on distclean
@ 2016-07-10 21:55 Yann E. MORIN
  2016-07-11  3:26 ` Baruch Siach
  2016-07-12 14:28 ` Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Yann E. MORIN @ 2016-07-10 21:55 UTC (permalink / raw)
  To: buildroot

Currently, if the dl/ directory is the default location, it is removed
on distclean.

However, the dl/ directory is a precious location: it contains all the
tarballs downloaded so far, and some can be relatively huge, taking some
previous time to re-download, especially on slowish links.

Don't remove it on distclean. If the user really needs to regain some
space, leave it to him to clean this directory up manually.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Makefile b/Makefile
index 027f21c..5d840f6 100644
--- a/Makefile
+++ b/Makefile
@@ -901,9 +901,6 @@ clean:
 		$(LEGAL_INFO_DIR) $(GRAPHS_DIR)
 
 distclean: clean
-ifeq ($(DL_DIR),$(TOPDIR)/dl)
-	rm -rf $(DL_DIR)
-endif
 ifeq ($(O),output)
 	rm -rf $(O)
 endif
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-12 14:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-10 21:55 [Buildroot] [PATCH] core: do not remove dl/ directory on distclean Yann E. MORIN
2016-07-11  3:26 ` Baruch Siach
2016-07-11 16:34   ` Yann E. MORIN
2016-07-11 20:03     ` Peter Korsgaard
2016-07-11 20:22       ` Yann E. MORIN
2016-07-11 22:13         ` Peter Korsgaard
2016-07-12 14:28 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox