diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 4ff68d4bc7..1e8170ed31 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -266,7 +266,8 @@ | |||
266 | 266 | ||
267 | <para> | 267 | <para> |
268 | As an example, consider the main formfactor recipe and a corresponding formfactor | 268 | As an example, consider the main formfactor recipe and a corresponding formfactor |
269 | append file both from the Yocto Project Files. | 269 | append file both from the |
270 | <link linkend='yocto-project-files'>Yocto Project Files</link>. | ||
270 | Here is the main formfactor recipe, which is named <filename>formfactor_0.0.bb</filename> and | 271 | Here is the main formfactor recipe, which is named <filename>formfactor_0.0.bb</filename> and |
271 | located in the meta layer at <filename>meta/bsp-recipes/formfactor</filename>: | 272 | located in the meta layer at <filename>meta/bsp-recipes/formfactor</filename>: |
272 | <literallayout class='monospaced'> | 273 | <literallayout class='monospaced'> |
@@ -301,12 +302,12 @@ | |||
301 | </literallayout> | 302 | </literallayout> |
302 | This example adds or overrides files in | 303 | This example adds or overrides files in |
303 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> | 304 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> |
304 | within a bbappend by extending the path BitBake uses to search for files. | 305 | within a <filename>.bbappend</filename> by extending the path BitBake uses to search for files. |
305 | The most reliable way to do this is by prepending the | 306 | The most reliable way to do this is by prepending the |
306 | <filename>FILESEXTRAPATHS</filename> variable. | 307 | <filename>FILESEXTRAPATHS</filename> variable. |
307 | For example, if you have your files in a directory that is named the same as your package | 308 | For example, if you have your files in a directory that is named the same as your package |
308 | (<ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink>), | 309 | (<ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink>), |
309 | you can add this directory by adding the following to your bbappend file: | 310 | you can add this directory by adding the following to your <filename>.bbappend</filename> file: |
310 | <literallayout class='monospaced'> | 311 | <literallayout class='monospaced'> |
311 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 312 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
312 | </literallayout> | 313 | </literallayout> |