mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1fc825ebc4
commit
1ebf41e07a
@@ -266,7 +266,8 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
As an example, consider the main formfactor recipe and a corresponding formfactor
|
As an example, consider the main formfactor recipe and a corresponding formfactor
|
||||||
append file both from the Yocto Project Files.
|
append file both from the
|
||||||
|
<link linkend='yocto-project-files'>Yocto Project Files</link>.
|
||||||
Here is the main formfactor recipe, which is named <filename>formfactor_0.0.bb</filename> and
|
Here is the main formfactor recipe, which is named <filename>formfactor_0.0.bb</filename> and
|
||||||
located in the meta layer at <filename>meta/bsp-recipes/formfactor</filename>:
|
located in the meta layer at <filename>meta/bsp-recipes/formfactor</filename>:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
@@ -301,12 +302,12 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
This example adds or overrides files in
|
This example adds or overrides files in
|
||||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink>
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink>
|
||||||
within a bbappend by extending the path BitBake uses to search for files.
|
within a <filename>.bbappend</filename> by extending the path BitBake uses to search for files.
|
||||||
The most reliable way to do this is by prepending the
|
The most reliable way to do this is by prepending the
|
||||||
<filename>FILESEXTRAPATHS</filename> variable.
|
<filename>FILESEXTRAPATHS</filename> variable.
|
||||||
For example, if you have your files in a directory that is named the same as your package
|
For example, if you have your files in a directory that is named the same as your package
|
||||||
(<ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink>),
|
(<ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink>),
|
||||||
you can add this directory by adding the following to your bbappend file:
|
you can add this directory by adding the following to your <filename>.bbappend</filename> file:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user