From e73f2204fbf90bb50af630e6c306e9cac31df3b7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 4 May 2018 05:31:54 -0700 Subject: ref-manual: Review edits added to do_patch task Mentioned the role of SRC_URI earlier in the description as it is key. Replaced "some_recipe" with "some_package" as the emphisis is not on the recipe at that point in the example. (From yocto-docs rev: f7f86941fdf866a693386335374f835078db3ddf) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-tasks.xml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'documentation/ref-manual') diff --git a/documentation/ref-manual/ref-tasks.xml b/documentation/ref-manual/ref-tasks.xml index 93ad692775..e6cf68670b 100644 --- a/documentation/ref-manual/ref-tasks.xml +++ b/documentation/ref-manual/ref-tasks.xml @@ -432,8 +432,16 @@ - After fetching and unpacking source files, the build system locates - and applies patches to the source code. + After fetching and unpacking source files, the build system + uses the recipe's + SRC_URI + statements to locate and apply patch files to the source code. + + The build system uses the + FILESPATH + variable to determine the default set of directories when + searching for patches. + Patch files, by default, are *.patch and *.diff files created and kept in a subdirectory of the directory holding the recipe file. @@ -451,10 +459,9 @@ - The recipe for bluez5 uses the - SRC_URI - variable to point to the source and patch files needed to build - the recipe. + In the bluez5 recipe, the + SRC_URI statements point to the source and + patch files needed to build the package. In the case for the bluez5_5.48.bb recipe, the SRC_URI statements are from an @@ -471,7 +478,7 @@ patch file: SRC_URI = " \ - git://path_to_repo/some_recipe \ + git://path_to_repo/some_package \ file://file;apply=yes \ " @@ -485,7 +492,7 @@ statement: SRC_URI = " \ - git://path_to_repo/some_recipe \ + git://path_to_repo/some_package \ file://path_to_lots_of_patch_files \ file://path_to_lots_of_patch_files/patch_file5;apply=no \ " -- cgit v1.2.3-54-g00ecf