A good method for using a download directory is to have
<filename>DL_DIR</filename> point to an area outside of your
Build Directory.
- Doing so allows you to safely delete the Build Directory's
- <filename>/work/tmp</filename> directory if needed without fear
- of removing any downloaded source file.
+ Doing so allows you to safely delete the Build Directory
+ if needed without fear of removing any downloaded source file.
</para>
<para>
Local projects are custom bits of software the user provides.
These bits reside somewhere local to a project - perhaps
a directory into which the user checks in items (e.g.
- a local directory that contains tarballs or repositories
+ a local directory containing a development source tree
used by the group).
</para>
is to use the
<link linkend='ref-classes-externalsrc'><filename>externalsrc.bbclass</filename></link>
class to include local project.
- You use a recipe's append file to override or instruct the
+ You use either the <filename>local.conf</filename> or a
+ recipe's append file to override or set the
recipe to point to the local directory on your disk to pull
in the whole source tree.
- Should you ever need to override that, you can use the
- Build Directory's <filename>local.conf</filename> file.
</para>
<para>
<para>
Two kinds of mirrors exist: pre-mirrors and regular mirrors.
+ The <link linkend='var-PREMIRRORS'><filename>PREMIRRORS</filename></link>
+ and
+ <link linkend='var-MIRRORS'><filename>MIRRORS</filename></link>
+ variables point to these, respectively.
BitBake checks pre-mirrors before looking upstream for any
source files.
Pre-mirrors are appropriate when you have a shared directory