diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2018-05-04 09:55:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-24 17:16:31 +0100 |
commit | e1774e20235c631157c1a7021bd7aaf6fcf0438e (patch) | |
tree | 98194170ed6cf1b272bfd023571fa54b6226a3a6 /documentation/overview-manual/overview-manual-concepts.xml | |
parent | 0b99c7dd2a6abf9c05857b49b1b1d1d1e2fe87e9 (diff) | |
download | poky-e1774e20235c631157c1a7021bd7aaf6fcf0438e.tar.gz |
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>
Diffstat (limited to 'documentation/overview-manual/overview-manual-concepts.xml')
-rw-r--r-- | documentation/overview-manual/overview-manual-concepts.xml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/documentation/overview-manual/overview-manual-concepts.xml b/documentation/overview-manual/overview-manual-concepts.xml index 99e924441e..78bf64f69a 100644 --- a/documentation/overview-manual/overview-manual-concepts.xml +++ b/documentation/overview-manual/overview-manual-concepts.xml | |||
@@ -1241,12 +1241,17 @@ | |||
1241 | <para> | 1241 | <para> |
1242 | The | 1242 | The |
1243 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-patch'><filename>do_patch</filename></ulink> | 1243 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-patch'><filename>do_patch</filename></ulink> |
1244 | task processes recipes by using the | 1244 | task uses a recipe's |
1245 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> | 1245 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> |
1246 | statements and the | ||
1247 | <ulink url='&YOCTO_DOCS_REF_URL;#var-FILESPATH'><filename>FILESPATH</filename></ulink> | ||
1246 | variable to locate applicable patch files. | 1248 | variable to locate applicable patch files. |
1249 | </para> | ||
1250 | |||
1251 | <para> | ||
1247 | Default processing for patch files assumes the files have | 1252 | Default processing for patch files assumes the files have |
1248 | either <filename>*.patch</filename> or | 1253 | either <filename>*.patch</filename> or |
1249 | <filename>*.diff</filename> endings. | 1254 | <filename>*.diff</filename> file types. |
1250 | You can use <filename>SRC_URI</filename> parameters to | 1255 | You can use <filename>SRC_URI</filename> parameters to |
1251 | change the way the build system recognizes patch files. | 1256 | change the way the build system recognizes patch files. |
1252 | See the | 1257 | See the |
@@ -1257,8 +1262,11 @@ | |||
1257 | <para> | 1262 | <para> |
1258 | BitBake finds and applies multiple patches for a single | 1263 | BitBake finds and applies multiple patches for a single |
1259 | recipe in the order in which it locates the patches. | 1264 | recipe in the order in which it locates the patches. |
1260 | Patches are applied to the recipe's source files, which | 1265 | The <filename>FILESPATH</filename> variable defines the |
1261 | are located in the | 1266 | default set of directories that the build system uses to |
1267 | search for patch files. | ||
1268 | Once found, patches are applied to the recipe's source | ||
1269 | files, which are located in the | ||
1262 | <ulink url='&YOCTO_DOCS_REF_URL;#var-S'><filename>S</filename></ulink> | 1270 | <ulink url='&YOCTO_DOCS_REF_URL;#var-S'><filename>S</filename></ulink> |
1263 | directory. | 1271 | directory. |
1264 | </para> | 1272 | </para> |