dev-manual: Updates to section on using script to create general layer
I made some minor edits to this section for better wording. (From yocto-docs rev: 080a194f4911b97bedcef259ed8a5ab9dc0f9b0a) 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
3c576c8025
commit
b7f25ec9cd
|
@ -795,10 +795,10 @@
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para><emphasis>The <filename>conf</filename>
|
<listitem><para><emphasis>The <filename>conf</filename>
|
||||||
directory:</emphasis>
|
directory:</emphasis>
|
||||||
This directory contains the layers
|
This directory contains the layer's configuration file.
|
||||||
<filename>.conf</filename>.
|
|
||||||
The root name for the file is the same as the root name
|
The root name for the file is the same as the root name
|
||||||
your provided for the layer.
|
your provided for the layer (e.g.
|
||||||
|
<filename><layer>.conf</filename>).
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis>The
|
<listitem><para><emphasis>The
|
||||||
<filename>COPYING.MIT</filename>:</emphasis>
|
<filename>COPYING.MIT</filename>:</emphasis>
|
||||||
|
@ -815,7 +815,6 @@
|
||||||
If you choose to generate a sample recipe file, the script
|
If you choose to generate a sample recipe file, the script
|
||||||
prompts you for the name for the recipe and then creates it
|
prompts you for the name for the recipe and then creates it
|
||||||
in <filename><layer>/recipes-example/example/</filename>.
|
in <filename><layer>/recipes-example/example/</filename>.
|
||||||
in a directory named <filename>recipes-example</filename>.
|
|
||||||
The script creates a <filename>.bb</filename> file and a
|
The script creates a <filename>.bb</filename> file and a
|
||||||
directory, which contains a sample
|
directory, which contains a sample
|
||||||
<filename>helloworld.c</filename> source file and along with
|
<filename>helloworld.c</filename> source file and along with
|
||||||
|
@ -850,7 +849,8 @@
|
||||||
<para>
|
<para>
|
||||||
Once you create your general layer, you must add it to your
|
Once you create your general layer, you must add it to your
|
||||||
<filename>bblayers.conf</filename> file.
|
<filename>bblayers.conf</filename> file.
|
||||||
Here is an example:
|
Here is an example where a layer named
|
||||||
|
<filename>meta-mylayer</filename> is added:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
BBLAYERS = ?" \
|
BBLAYERS = ?" \
|
||||||
/usr/local/src/yocto/meta \
|
/usr/local/src/yocto/meta \
|
||||||
|
|
Loading…
Reference in New Issue