diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2018-03-23 14:05:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-24 17:16:03 +0100 |
commit | d6a396b5942c9a9398745f720d1b83e31381c2ba (patch) | |
tree | 37a159c18e79bd92f855d37b414e43182ce8f67e | |
parent | feeb4592b7642deb8496c734d1bffc76326cc4d3 (diff) | |
download | poky-d6a396b5942c9a9398745f720d1b83e31381c2ba.tar.gz |
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>
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 417a95612e..31b46c4435 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -147,30 +147,30 @@ | |||
147 | </para></listitem> | 147 | </para></listitem> |
148 | <listitem><para> | 148 | <listitem><para> |
149 | The recipes for the layers are appended to | 149 | The recipes for the layers are appended to |
150 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILES'>BBFILES</ulink></filename>. | 150 | <ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILES'><filename>BBFILES</filename></ulink>. |
151 | </para></listitem> | 151 | </para></listitem> |
152 | <listitem><para> | 152 | <listitem><para> |
153 | The | 153 | The |
154 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_COLLECTIONS'>BBFILE_COLLECTIONS</ulink></filename> | 154 | <ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_COLLECTIONS'><filename>BBFILE_COLLECTIONS</filename></ulink> |
155 | variable is appended with the layer's root name, | 155 | variable is appended with the layer's root name, |
156 | which is "yoctobsp" in this example. | 156 | which is "yoctobsp" in this example. |
157 | </para></listitem> | 157 | </para></listitem> |
158 | <listitem><para> | 158 | <listitem><para> |
159 | The | 159 | The |
160 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_PATTERN'>BBFILE_PATTERN</ulink></filename> | 160 | <ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_PATTERN'><filename>BBFILE_PATTERN</filename></ulink> |
161 | variable is set to a regular expression and is | 161 | variable is set to a regular expression and is |
162 | used to match files from | 162 | used to match files from |
163 | <filename>BBFILES</filename> into a particular | 163 | <filename>BBFILES</filename> into a particular |
164 | layer. | 164 | layer. |
165 | In this case, | 165 | In this case, |
166 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERDIR'>LAYERDIR</ulink></filename> | 166 | <ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERDIR'><filename>LAYERDIR</filename></ulink> |
167 | is used to make | 167 | is used to make |
168 | <filename>BBFILE_PATTERN</filename> match | 168 | <filename>BBFILE_PATTERN</filename> match |
169 | within the layer's path. | 169 | within the layer's path. |
170 | </para></listitem> | 170 | </para></listitem> |
171 | <listitem><para> | 171 | <listitem><para> |
172 | The | 172 | The |
173 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_PRIORITY'>BBFILE_PRIORITY</ulink></filename> | 173 | <ulink url='&YOCTO_DOCS_REF_URL;#var-BBFILE_PRIORITY'><filename>BBFILE_PRIORITY</filename></ulink> |
174 | variable assigns a priority to the layer. | 174 | variable assigns a priority to the layer. |
175 | Applying priorities is useful in situations | 175 | Applying priorities is useful in situations |
176 | where the same recipe might appear in multiple | 176 | where the same recipe might appear in multiple |
@@ -180,15 +180,21 @@ | |||
180 | </para></listitem> | 180 | </para></listitem> |
181 | <listitem><para> | 181 | <listitem><para> |
182 | The | 182 | The |
183 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERVERSION'>LAYERVERSION</ulink></filename> | 183 | <ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERDIR'><filename>LAYERDIR</filename></ulink> |
184 | variable expands to the directory of the | ||
185 | current layer | ||
186 | </para></listitem> | ||
187 | <listitem><para> | ||
188 | The | ||
189 | <ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERVERSION'><filename>LAYERVERSION</filename></ulink> | ||
184 | variable optionally specifies the version of a | 190 | variable optionally specifies the version of a |
185 | layer as a single number. | 191 | layer as a single number. |
186 | </para></listitem> | 192 | </para></listitem> |
187 | <listitem><para> | 193 | <listitem><para> |
188 | The | 194 | The |
189 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERDIR'>LAYERDIR</ulink></filename> | 195 | <ulink url='&YOCTO_DOCS_REF_URL;#var-LAYERSERIES_COMPAT'><filename>LAYERSERIES_COMPAT</filename></ulink> |
190 | variable expands to the directory of the | 196 | lists the Yocto Project releases for which the |
191 | current layer | 197 | layer is compatible. |
192 | </para></listitem> | 198 | </para></listitem> |
193 | </itemizedlist></para> | 199 | </itemizedlist></para> |
194 | 200 | ||