dev-manual: Edits to "Creating Your Own Distribution" section.
(From yocto-docs rev: 7832fbf97e714649730794d0a71bcae42933209d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cedb4ce2d8
commit
ce8dbc82e4
|
@ -2349,7 +2349,7 @@
|
||||||
Poky distribution.
|
Poky distribution.
|
||||||
If you wish to gain more control over package alternative
|
If you wish to gain more control over package alternative
|
||||||
selections, compile-time options, and other low-level
|
selections, compile-time options, and other low-level
|
||||||
configuration, you can create your own distribution.
|
configurations, you can create your own distribution.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -2368,8 +2368,11 @@
|
||||||
configurations in a <filename>local.conf</filename>
|
configurations in a <filename>local.conf</filename>
|
||||||
configuration file makes it easier to reproduce the same
|
configuration file makes it easier to reproduce the same
|
||||||
build configuration when using multiple build machines.
|
build configuration when using multiple build machines.
|
||||||
|
See the
|
||||||
|
"<link linkend='creating-a-general-layer-using-the-yocto-layer-script'>Creating a General Layer Using the yocto-layer Script</link>"
|
||||||
|
section for information on how to quickly set up a layer.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis>Create the Distribution Configuration File:</emphasis>
|
<listitem><para><emphasis>Create the distribution configuration file:</emphasis>
|
||||||
The distribution configuration file needs to be created in
|
The distribution configuration file needs to be created in
|
||||||
the <filename>conf/distro</filename> directory of your
|
the <filename>conf/distro</filename> directory of your
|
||||||
layer.
|
layer.
|
||||||
|
@ -2412,15 +2415,15 @@
|
||||||
or configuration files from other distributions
|
or configuration files from other distributions
|
||||||
such as Poky or Angstrom as references.
|
such as Poky or Angstrom as references.
|
||||||
</tip></para></listitem>
|
</tip></para></listitem>
|
||||||
<listitem><para><emphasis>Provide Miscellaneous Variables:</emphasis>
|
<listitem><para><emphasis>Provide miscellaneous variables:</emphasis>
|
||||||
Be sure to define any other variable for which you want to
|
Be sure to define any other variables for which you want to
|
||||||
create a default or enforce as part of the distribution
|
create a default or enforce as part of the distribution
|
||||||
configuration.
|
configuration.
|
||||||
You can include nearly any variable from the
|
You can include nearly any variable from the
|
||||||
<filename>local.conf</filename> file.
|
<filename>local.conf</filename> file.
|
||||||
The variables you use are not limited to the list in the
|
The variables you use are not limited to the list in the
|
||||||
previous bulleted item.</para></listitem>
|
previous bulleted item.</para></listitem>
|
||||||
<listitem><para><emphasis>Point to Your Distribution Configuration File:</emphasis>
|
<listitem><para><emphasis>Point to Your distribution configuration file:</emphasis>
|
||||||
In your <filename>local.conf</filename> file in the
|
In your <filename>local.conf</filename> file in the
|
||||||
<link linkend='build-directory'>Build Directory</link>,
|
<link linkend='build-directory'>Build Directory</link>,
|
||||||
set your
|
set your
|
||||||
|
@ -2432,7 +2435,7 @@
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
DISTRO = "mydistro"
|
DISTRO = "mydistro"
|
||||||
</literallayout></para></listitem>
|
</literallayout></para></listitem>
|
||||||
<listitem><para><emphasis>Add More to the Layer if Necessary:</emphasis>
|
<listitem><para><emphasis>Add more to the layer if necessary:</emphasis>
|
||||||
Use your layer to hold other information needed for the
|
Use your layer to hold other information needed for the
|
||||||
distribution:
|
distribution:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
Loading…
Reference in New Issue