summaryrefslogtreecommitdiffstats
path: root/documentation/getting-started/eclipse/html/getting-started/patching-dev-environment.html
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/getting-started/eclipse/html/getting-started/patching-dev-environment.html')
-rw-r--r--documentation/getting-started/eclipse/html/getting-started/patching-dev-environment.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/documentation/getting-started/eclipse/html/getting-started/patching-dev-environment.html b/documentation/getting-started/eclipse/html/getting-started/patching-dev-environment.html
new file mode 100644
index 0000000000..60ae6b020b
--- /dev/null
+++ b/documentation/getting-started/eclipse/html/getting-started/patching-dev-environment.html
@@ -0,0 +1,48 @@
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title>2.8.5.2. Patching</title>
5<link rel="stylesheet" type="text/css" href="../book.css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7<link rel="home" href="index.html" title="Getting Started With Yocto Project">
8<link rel="up" href="bitbake-dev-environment.html" title="2.8.5. BitBake">
9<link rel="prev" href="source-fetching-dev-environment.html" title="2.8.5.1. Source Fetching">
10<link rel="next" href="configuration-and-compilation-dev-environment.html" title="2.8.5.3. Configuration and Compilation">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="2.8.5.2. Patching">
13<div class="titlepage"><div><div><h4 class="title">
14<a name="patching-dev-environment"></a>2.8.5.2. Patching</h4></div></div></div>
15<p>
16 Once source code is fetched and unpacked, BitBake locates
17 patch files and applies them to the source files:
18 </p>
19<table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0" width="540"><tr style="height: 450px"><td align="center"><img src="figures/patching.png" align="middle" width="540"></td></tr></table>
20<p>
21 </p>
22<p>
23 The
24 <a class="link" href="../ref-manual/ref-tasks-patch.html" target="_self"><code class="filename">do_patch</code></a>
25 task processes recipes by
26 using the
27 <a class="link" href="../ref-manual/var-SRC_URI.html" target="_self"><code class="filename">SRC_URI</code></a>
28 variable to locate applicable patch files, which by default
29 are <code class="filename">*.patch</code> or
30 <code class="filename">*.diff</code> files, or any file if
31 "apply=yes" is specified for the file in
32 <code class="filename">SRC_URI</code>.
33 </p>
34<p>
35 BitBake finds and applies multiple patches for a single recipe
36 in the order in which it finds the patches.
37 Patches are applied to the recipe's source files located in the
38 <a class="link" href="../ref-manual/var-S.html" target="_self"><code class="filename">S</code></a>
39 directory.
40 </p>
41<p>
42 For more information on how the source directories are
43 created, see the
44 "<a class="link" href="source-fetching-dev-environment.html" title="2.8.5.1. Source Fetching">Source Fetching</a>"
45 section.
46 </p>
47</div></body>
48</html>