2012-11-11 04:14:42 +01:00
|
|
|
// -*- mode:doc; -*-
|
|
|
|
|
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
|
|
|
|
|
|
|
It might be useful to know that the various tarballs that are
|
2012-11-16 05:54:19 +01:00
|
|
|
downloaded by the Makefiles are all stored in +DL_DIR+ which by
|
|
|
|
default is the +dl+ directory. This is useful, for example, if you want
|
2011-10-10 10:46:39 +02:00
|
|
|
to keep a complete version of Buildroot which is known to be working
|
|
|
|
with the associated tarballs. This will allow you to regenerate the
|
|
|
|
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:
|
|
|
|
|
|
|
|
-----------------
|
|
|
|
$ 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>
|
|
|
|
-----------------
|