download-location.txt 1.1 KB

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