From mboxrd@z Thu Jan 1 00:00:00 1970
From: ulf at uclibc.org
Date: Sun, 19 Aug 2007 16:32:34 -0700 (PDT)
Subject: [Buildroot] svn commit: trunk/buildroot: docs
Message-ID: <20070819233234.8D69DA467E@busybox.net>
List-Id:
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: buildroot@busybox.net
Author: ulf
Date: 2007-08-19 16:32:33 -0700 (Sun, 19 Aug 2007)
New Revision: 19584
Log:
Add support for BUILDROOT_DL_DIR environment variable, overriding DL_DIR
Modified:
trunk/buildroot/Makefile
trunk/buildroot/docs/buildroot.html
Changeset:
Modified: trunk/buildroot/Makefile
===================================================================
--- trunk/buildroot/Makefile 2007-08-19 23:16:47 UTC (rev 19583)
+++ trunk/buildroot/Makefile 2007-08-19 23:32:33 UTC (rev 19584)
@@ -37,6 +37,9 @@
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
-include $(TOPDIR).config
endif
+ifneq ($(BUILDROOT_DL_DIR),)
+BR2_DL_DIR:=$(BUILDROOT_DL_DIR)
+endif
# To put more focus on warnings, be less verbose as default
# Use 'make V=1' to see the full commands
Modified: trunk/buildroot/docs/buildroot.html
===================================================================
--- trunk/buildroot/docs/buildroot.html 2007-08-19 23:16:47 UTC (rev 19583)
+++ trunk/buildroot/docs/buildroot.html 2007-08-19 23:32:33 UTC (rev 19584)
@@ -779,6 +779,28 @@
toolchain and the target filesystem with exactly the same
versions.
+ If you maintain several buildroot trees, it might be better to have
+ a shared download location. This can be accessed by creating a symbolic link
+ from the dl directory to the shared download location.
+
+ I.E:
+
+
+ln -s <shared download location> dl
+
+
+ Another way of accessing a shared download location is to
+ create the BUILDROOT_DL_DIR environment variable.
+ If this is set, then the value of DL_DIR in the project is
+ overridden. The following line should be added to
+ "~/.bashrc".
+
+
+export BUILDROOT_DL_DIR <shared download location>
+
+
+
+
Extending Buildroot with
more software