mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
overview-manual: Small revisions to "Patching" section.
(From yocto-docs rev: 081a60766b67e8822e0c841f3259ff633580149c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7cbf582ac1
commit
9e2ba7ed66
@@ -1241,12 +1241,17 @@
|
||||
<para>
|
||||
The
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-patch'><filename>do_patch</filename></ulink>
|
||||
task processes recipes by using the
|
||||
task uses a recipe's
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink>
|
||||
statements and the
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-FILESPATH'><filename>FILESPATH</filename></ulink>
|
||||
variable to locate applicable patch files.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Default processing for patch files assumes the files have
|
||||
either <filename>*.patch</filename> or
|
||||
<filename>*.diff</filename> endings.
|
||||
<filename>*.diff</filename> file types.
|
||||
You can use <filename>SRC_URI</filename> parameters to
|
||||
change the way the build system recognizes patch files.
|
||||
See the
|
||||
@@ -1257,8 +1262,11 @@
|
||||
<para>
|
||||
BitBake finds and applies multiple patches for a single
|
||||
recipe in the order in which it locates the patches.
|
||||
Patches are applied to the recipe's source files, which
|
||||
are located in the
|
||||
The <filename>FILESPATH</filename> variable defines the
|
||||
default set of directories that the build system uses to
|
||||
search for patch files.
|
||||
Once found, patches are applied to the recipe's source
|
||||
files, which are located in the
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-S'><filename>S</filename></ulink>
|
||||
directory.
|
||||
</para>
|
||||
|
||||
Reference in New Issue
Block a user