mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
dev-manual: Updated the "Creating Your Own Layer" section.
Added information to the list of variables used in the layer.conf file to specify LAYERSERIES_COMPAT. (From yocto-docs rev: c41ff41e75b654d5d7df8c2a1e83ba5525490285) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
feeb4592b7
commit
d6a396b594
@@ -147,30 +147,30 @@
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
The recipes for the layers are appended to
|
||||
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILES'>BBFILES</ulink></filename>.
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILES'><filename>BBFILES</filename></ulink>.
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
The
|
||||
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_COLLECTIONS'>BBFILE_COLLECTIONS</ulink></filename>
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_COLLECTIONS'><filename>BBFILE_COLLECTIONS</filename></ulink>
|
||||
variable is appended with the layer's root name,
|
||||
which is "yoctobsp" in this example.
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
The
|
||||
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_PATTERN'>BBFILE_PATTERN</ulink></filename>
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_PATTERN'><filename>BBFILE_PATTERN</filename></ulink>
|
||||
variable is set to a regular expression and is
|
||||
used to match files from
|
||||
<filename>BBFILES</filename> into a particular
|
||||
layer.
|
||||
In this case,
|
||||
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERDIR'>LAYERDIR</ulink></filename>
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERDIR'><filename>LAYERDIR</filename></ulink>
|
||||
is used to make
|
||||
<filename>BBFILE_PATTERN</filename> match
|
||||
within the layer's path.
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
The
|
||||
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_PRIORITY'>BBFILE_PRIORITY</ulink></filename>
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_PRIORITY'><filename>BBFILE_PRIORITY</filename></ulink>
|
||||
variable assigns a priority to the layer.
|
||||
Applying priorities is useful in situations
|
||||
where the same recipe might appear in multiple
|
||||
@@ -180,15 +180,21 @@
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
The
|
||||
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERVERSION'>LAYERVERSION</ulink></filename>
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERDIR'><filename>LAYERDIR</filename></ulink>
|
||||
variable expands to the directory of the
|
||||
current layer
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
The
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERVERSION'><filename>LAYERVERSION</filename></ulink>
|
||||
variable optionally specifies the version of a
|
||||
layer as a single number.
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
The
|
||||
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERDIR'>LAYERDIR</ulink></filename>
|
||||
variable expands to the directory of the
|
||||
current layer
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERSERIES_COMPAT'><filename>LAYERSERIES_COMPAT</filename></ulink>
|
||||
lists the Yocto Project releases for which the
|
||||
layer is compatible.
|
||||
</para></listitem>
|
||||
</itemizedlist></para>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user