From: Scott Rifenbark Date: Mon, 19 Aug 2013 14:16:16 +0000 (+0300) Subject: ref-manual: New section on patching for expanded build process X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06c124b02dcf792a479ce0d3ee5befa0deb7be47;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git ref-manual: New section on patching for expanded build process Fixes [YOCTO #2808] Added a new sub-section to the BitBake section that takes a closer look at the build process. Part of the requirements was a new figure that had to be added to both the ref-manual and the mega-manual figures directories. (From yocto-docs rev: c40476b079cf5765b8228502f0ef33072f8b2b85) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- diff --git a/documentation/mega-manual/figures/patching.png b/documentation/mega-manual/figures/patching.png new file mode 100644 index 00000000000..a26a082bee3 Binary files /dev/null and b/documentation/mega-manual/figures/patching.png differ diff --git a/documentation/ref-manual/figures/patching.png b/documentation/ref-manual/figures/patching.png new file mode 100644 index 00000000000..a26a082bee3 Binary files /dev/null and b/documentation/ref-manual/figures/patching.png differ diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index a3dd6f0cb05..5ee2615e5c2 100644 --- a/documentation/ref-manual/technical-details.xml +++ b/documentation/ref-manual/technical-details.xml @@ -1031,6 +1031,41 @@ building goes on for a given recipe. + +
+ Patching + + + Once source code is fetched and unpacked, BitBake locates + patch files and applies them to the source files: + + + + + 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. + + + + 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 + S directory. + + + + For more information on how the source directories are + created, see the + "Source Fetching" + section. + +