2 // vim: set syntax=asciidoc:
4 ==== Location of downloaded packages
6 The various tarballs that are downloaded by Buildroot are all stored
7 in +BR2_DL_DIR+, which by default is the +dl+ directory. If you want
8 to keep a complete version of Buildroot which is known to be working
9 with the associated tarballs, you can make a copy of this directory.
10 This will allow you to regenerate the toolchain and the target
11 filesystem with exactly the same versions.
13 If you maintain several Buildroot trees, it might be better to have a
14 shared download location. This can be achieved by pointing the
15 +BR2_DL_DIR+ environment variable to a directory. If this is
16 set, then the value of +BR2_DL_DIR+ in the Buildroot configuration is
17 overridden. The following line should be added to +<~/.bashrc>+.
20 export BR2_DL_DIR=<shared download location>
23 The download location can also be set in the +.config+ file, with the
24 +BR2_DL_DIR+ option. Unlike most options in the .config file, this value
25 is overridden by the +BR2_DL_DIR+ environment variable.