download-location.txt 1.0 KB

1234567891011121314151617181920212223242526
  1. Location of downloaded packages
  2. ===============================
  3. It might be useful to know that the various tarballs that are
  4. downloaded by the Makefiles are all stored in the +DL_DIR+ which by
  5. default is the +dl+ directory. It's useful, for example, if you want
  6. to keep a complete version of Buildroot which is known to be working
  7. with the associated tarballs. This will allow you to regenerate the
  8. toolchain and the target filesystem with exactly the same versions.
  9. If you maintain several Buildroot trees, it might be better to have a
  10. shared download location. This can be accessed by creating a symbolic
  11. link from the +dl+ directory to the shared download location:
  12. -----------------
  13. $ ln -s <shared download location> dl
  14. -----------------
  15. Another way of accessing a shared download location is to create the
  16. +BUILDROOT_DL_DIR+ environment variable. If this is set, then the
  17. value of DL_DIR in the project is overridden. The following line
  18. should be added to +<~/.bashrc>+.
  19. -----------------
  20. $ export BUILDROOT_DL_DIR <shared download location>
  21. -----------------