2012-11-11 04:14:42 +01:00
|
|
|
// -*- mode:doc; -*-
|
2013-02-13 13:59:02 +01:00
|
|
|
// vim: set syntax=asciidoc:
|
2012-11-11 04:14:42 +01:00
|
|
|
|
2011-10-10 10:46:39 +02:00
|
|
|
Location of downloaded packages
|
2012-11-11 04:14:42 +01:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2011-10-10 10:46:39 +02:00
|
|
|
|
2012-12-29 05:42:33 +01:00
|
|
|
The various tarballs that are downloaded by Buildroot are all stored
|
|
|
|
in +BR2_DL_DIR+, which by default is the +dl+ directory. If you want
|
2011-10-10 10:46:39 +02:00
|
|
|
to keep a complete version of Buildroot which is known to be working
|
2012-11-27 12:59:17 +01:00
|
|
|
with the associated tarballs, you can make a copy of this directory.
|
2012-12-29 05:42:33 +01:00
|
|
|
This will allow you to regenerate the toolchain and the target
|
|
|
|
filesystem with exactly the same versions.
|
2011-10-10 10:46:39 +02:00
|
|
|
|
|
|
|
If you maintain several Buildroot trees, it might be better to have a
|
2012-12-29 05:42:33 +01:00
|
|
|
shared download location. This can be achieved by pointing the
|
|
|
|
+BUILDROOT_DL_DIR+ environment variable to a directory. If this is
|
|
|
|
set, then the value of +BR2_DL_DIR+ in the Buildroot configuration is
|
|
|
|
overridden. The following line should be added to +<~/.bashrc>+.
|
2011-10-10 10:46:39 +02:00
|
|
|
|
|
|
|
-----------------
|
|
|
|
$ export BUILDROOT_DL_DIR <shared download location>
|
|
|
|
-----------------
|
2012-11-27 12:59:17 +01:00
|
|
|
|
|
|
|
The download location can also be set in the +.config+ file, with the
|
|
|
|
+BR2_DL_DIR+ option. This value is overridden by the +BUILDROOT_DL_DIR+
|
|
|
|
environment variable.
|