<glossdef>
<para>
Points to the server that runs memory-resident BitBake.
- This variable is set by the
+ This variable is set by the
<link linkend='structure-memres-core-script'><filename>oe-init-build-env-memres</filename></link>
setup script and should not be hand-edited.
The variable is only used when you employ memory-resident
<literallayout class='monospaced'>
export BBSERVER=localhost:$port
</literallayout>
- For more information on how the
- <filename>BBSERVER</filename> is used, see the
+ For more information on how the
+ <filename>BBSERVER</filename> is used, see the
<filename>oe-init-build-env-memres</filename> script, which
- is located in the
+ is located in the
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>.
</para>
</glossdef>
<ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>.
You can define this directory indirectly through the
<link linkend='structure-core-script'><filename>&OE_INIT_FILE;</filename></link>
- and
+ and
<link linkend='structure-memres-core-script'><filename>oe-init-build-env-memres</filename></link>
- scripts by passing in a Build Directory path when you run
+ scripts by passing in a Build Directory path when you run
the scripts.
If you run the scripts and do not provide a Build Directory
path, the <filename>BUILDDIR</filename> defaults to
<glossentry id='var-DL_DIR'><glossterm>DL_DIR</glossterm>
<glossdef>
<para>
- The central download directory used by the build process to
+ The central download directory used by the build process to
store downloads.
- You can set this directory by defining the
- <filename>DL_DIR</filename> variable in the
+ You can set this directory by defining the
+ <filename>DL_DIR</filename> variable in the
<filename>/conf/local.conf</filename> file.
This directory is self-maintaining and you should not have
to touch it.
- By default, the directory is <filename>downloads</filename>
+ By default, the directory is <filename>downloads</filename>
in the
<ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>.
<literallayout class='monospaced'>
#DL_DIR ?= "${TOPDIR}/downloads"
</literallayout>
- To specify a different download directory, simply remove
+ To specify a different download directory, simply remove
the comment from the line and provide your directory.
</para>
<para>
- During a first build, the system downloads many different
+ During a first build, the system downloads many different
source code tarballs from various upstream projects.
Downloading can take a while, particularly if your network
connection is slow.
Tarballs are all stored in the directory defined by
- <filename>DL_DIR</filename> and the build system looks there
+ <filename>DL_DIR</filename> and the build system looks there
first to find source tarballs.
<note>
- When wiping and rebuilding, you can preserve this
+ When wiping and rebuilding, you can preserve this
directory to speed up this part of subsequent builds.
</note>
</para>
<para>
- You can safely share this directory between multiple builds
+ You can safely share this directory between multiple builds
on the same development machine.
For additional information on how the build process gets
source files when working behind a firewall or proxy server,
<glossentry id='var-IMAGE_CLASSES'><glossterm>IMAGE_CLASSES</glossterm>
<glossdef>
<para>
- A list of classes that all images should inherit.
- You typically use this variable to specify the list of
- classes that register the different types of images
+ A list of classes that all images should inherit.
+ You typically use this variable to specify the list of
+ classes that register the different types of images
the OpenEmbedded build system creates.
</para>
<para>
The default value for <filename>IMAGE_CLASSES</filename> is
<filename>image_types.bbclass</filename>.
- You can set this variable in your
- <filename>local.conf</filename> or in a distribution
+ You can set this variable in your
+ <filename>local.conf</filename> or in a distribution
configuration file.
</para>
<para>
- For more information, see
+ For more information, see
<filename>meta/classes/image_types.bbclass</filename> in the
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>.
- </para>
+ </para>
</glossdef>
</glossentry>
<glossentry id='var-IMAGE_POSTPROCESS_COMMAND'><glossterm>IMAGE_POSTPROCESS_COMMAND</glossterm>
<glossdef>
<para>
- Added by classes to run post processing commands once the
+ Added by classes to run post processing commands once the
OpenEmbedded build system has created the image.
You can specify shell commands and, if necessary, the path
to the root filesystem image:
<glossentry id='var-IMAGE_ROOTFS'><glossterm>IMAGE_ROOTFS</glossterm>
<glossdef>
<para>
- The location of the root filesystem.
- This variable is not configurable.
+ The location of the root filesystem.
+ This variable is not configurable.
Do not change it.
</para>
</glossdef>
The directory from which the top-level build environment
setup script is sourced.
The Yocto Project makes two top-level build environment
- setup scripts available:
+ setup scripts available:
<link linkend='structure-core-script'><filename>&OE_INIT_FILE;</filename></link>
- and
+ and
<link linkend='structure-memres-core-script'><filename>oe-init-build-env-memres</filename></link>.
- When you run one of these scripts, the
- <filename>OEROOT</filename> variable resolves to the
+ When you run one of these scripts, the
+ <filename>OEROOT</filename> variable resolves to the
directory that holds the script.
</para>
<para>
- For additional information on how this variable is used,
+ For additional information on how this variable is used,
see the initialization scripts.
</para>
</glossdef>
<para>
The default value of "noop" causes the build to simply fail
- when the OpenEmbedded build system cannot successfully
+ when the OpenEmbedded build system cannot successfully
apply a patch.
- Setting the value to "user" causes the build system to
- launch a shell and places you in the right location so that
+ Setting the value to "user" causes the build system to
+ launch a shell and places you in the right location so that
you can manually resolve the conflicts.
</para>
<para>
- Set this variable in your
+ Set this variable in your
<filename>local.conf</filename> file.
</para>
</glossdef>
<glossentry id='var-ROOTFS_POSTPROCESS_COMMAND'><glossterm>ROOTFS_POSTPROCESS_COMMAND</glossterm>
<glossdef>
<para>
- Added by classes to run post processing commands once the
+ Added by classes to run post processing commands once the
OpenEmbedded build system has created the root filesystem.
You can specify shell commands and, if necessary, the path
to the root filesystem image:
<literallayout class='monospaced'>
- ROOTFS_POSTPROCESS_COMMAND += "${IMAGE_ROOTFS}<shell_command>; ... "
+ ROOTFS_POSTPROCESS_COMMAND += "<shell_command>; ... "
</literallayout>
+ If you need to pass the path to the root filesystem within
+ the command, you can use
+ <filename>${IMAGE_ROOTFS}</filename>, which points to
+ the root filesystem image.
</para>
</glossdef>
</glossentry>
<glossentry id='var-USER_CLASSES'><glossterm>USER_CLASSES</glossterm>
<glossdef>
<para>
- A list of classes to globally inherit.
- These classes are used by the OpenEmbedded build system
- to enable extra features (e.g.
- <filename>buildstats</filename>,
+ A list of classes to globally inherit.
+ These classes are used by the OpenEmbedded build system
+ to enable extra features (e.g.
+ <filename>buildstats</filename>,
<filename>image-mklibs</filename>, and so forth).
</para>
<para>
- The default list is set in your
+ The default list is set in your
<filename>local.conf</filename> file:
<literallayout class='monospaced'>
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
</literallayout>
For more information, see
- <filename>meta-yocto/conf/local.conf.sample</filename> in
- the
+ <filename>meta-yocto/conf/local.conf.sample</filename> in
+ the
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>.
</para>
</glossdef>