dev-manual, bsp-guide: Added some links
Fixes YOCTO #3552 Added some links to the FILESEXTRAPATHS and SRC_URI variables. These links connect appropriate sections to a newly improved section on FILESEXTRAPATHS glossary description. (From yocto-docs rev: a58e7c6f013393c87381411f918e16a8f04d55d1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b8761468d3
commit
cd474b08f6
|
@ -621,7 +621,8 @@
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <filename>FILESEXTRAPATHS</filename> variable is in boilerplate form in the
|
The <ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'><filename>FILESEXTRAPATHS</filename></ulink>
|
||||||
|
variable is in boilerplate form in the
|
||||||
previous example in order to make it easy to do that.
|
previous example in order to make it easy to do that.
|
||||||
This variable must be in your layer or BitBake will not find the patches or
|
This variable must be in your layer or BitBake will not find the patches or
|
||||||
configurations even if you have them in your <filename>SRC_URI</filename>.
|
configurations even if you have them in your <filename>SRC_URI</filename>.
|
||||||
|
|
|
@ -356,7 +356,8 @@
|
||||||
<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 <filename>.bbappend</filename> 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.
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'><filename>FILESEXTRAPATHS</filename></ulink>
|
||||||
|
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 <filename>.bbappend</filename> file:
|
you can add this directory by adding the following to your <filename>.bbappend</filename> file:
|
||||||
|
@ -1827,7 +1828,8 @@
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
PRINC := "${@int(PRINC) + 1}"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
The <filename>FILESEXTRAPATHS</filename> and <filename>SRC_URI</filename>
|
The <ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'><filename>FILESEXTRAPATHS</filename></ulink>
|
||||||
|
and <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink>
|
||||||
statements enable the OpenEmbedded build system to find the patch file.
|
statements enable the OpenEmbedded build system to find the patch file.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis>Put the patch file in your layer</emphasis>:
|
<listitem><para><emphasis>Put the patch file in your layer</emphasis>:
|
||||||
|
|
Loading…
Reference in New Issue