cca7e7e13b4ac9c8d7924b1a3f5c56acfe62f444
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / docs / manual / download-location.txt
1 // -*- mode:doc; -*-
2 // vim: set syntax=asciidoc:
3
4 ==== Location of downloaded packages
5
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.
12
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>+.
18
19 -----------------
20  $ export BR2_DL_DIR <shared download location>
21 -----------------
22
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.