diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-03-13 16:33:19 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 14:24:46 +0000 |
| commit | 1ebf41e07adae45ea794e33de0bed49db67623d7 (patch) | |
| tree | eb89d679fac764b2c8e8270878e5d266aaf976c2 | |
| parent | 1fc825ebc428909fce5a06bc8b59b0adaa233109 (diff) | |
| download | poky-1ebf41e07adae45ea794e33de0bed49db67623d7.tar.gz | |
documentation/dev-manual/dev-manual-common-tasks.xml: minor edits.
(From yocto-docs rev: 90daf67e41b0c95ce0e6652f994f79cfb021c4f8)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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> |
