diff --git a/documentation/overview-manual/overview-manual-concepts.xml b/documentation/overview-manual/overview-manual-concepts.xml index 679d58ca9d..d3314cbfcc 100644 --- a/documentation/overview-manual/overview-manual-concepts.xml +++ b/documentation/overview-manual/overview-manual-concepts.xml @@ -1239,22 +1239,25 @@ - The - do_patch - task processes recipes by using the + The do_patch task processes recipes by + using the SRC_URI - variable to locate applicable patch files, which by default - are *.patch or - *.diff files, or any file if - "apply=yes" is specified for the file in - SRC_URI. + variable to locate applicable patch files. + Default processing for patch files assumes the files have + either *.patch or + *.diff endings. + You can use SRC_URI parameters to + change the way the build system recognizes patch files. + See the + do_patch + task for more information. BitBake finds and applies multiple patches for a single - recipe in the order in which it finds the patches. - Patches are applied to the recipe's source files located - in the + recipe in the order in which it locates the patches. + Patches are applied to the recipe's source files, which + are located in the S directory. @@ -1264,6 +1267,18 @@ created, see the "Source Fetching" section. + For more information on how to create patches and how the + build system processes patches, see the + "Patching Code" + section in the Yocto Project Development Tasks Manual. + You can also see the + "Use devtool modify to Modify the Source of an Existing Component" + section in the Yocto Project Application Development and + the Extensible Software Development Kit (SDK) manual and + the + "Using Traditional Kernel Development to Patch the Kernel" + section in the Yocto Project Linux Kernel Development + Manual.