diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-11-19 13:55:17 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-02 13:16:11 +0000 |
commit | 4abc384f253fab140324ac9e243b000dc5d6ae8c (patch) | |
tree | 0023d23b0f80fe6eb3300fb4d8f2f027bbb13fa4 | |
parent | 1e8388924219f5a99442e7dc26e82791ce304f26 (diff) | |
download | poky-4abc384f253fab140324ac9e243b000dc5d6ae8c.tar.gz |
dev-manual: Some review edits to the new writing a recipe section.
(From yocto-docs rev: 06287769f9a1fc0beb1a867ceb22922e35452589)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 762ffb2399..2e011724c3 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -1142,9 +1142,8 @@ | |||
1142 | <para> | 1142 | <para> |
1143 | Recipes (<filename>.bb</filename> files) are fundamental components | 1143 | Recipes (<filename>.bb</filename> files) are fundamental components |
1144 | in the Yocto Project environment. | 1144 | in the Yocto Project environment. |
1145 | The OpenEmbedded build system parses and compiles your recipes and | 1145 | Each software component built by the OpenEmbedded build system |
1146 | packages the output to create an image. | 1146 | requires a recipe to define the component. |
1147 | Your project consists in part of the recipes that define it. | ||
1148 | This section describes how to create, write, and test a new | 1147 | This section describes how to create, write, and test a new |
1149 | recipe. | 1148 | recipe. |
1150 | </para> | 1149 | </para> |
@@ -1199,7 +1198,7 @@ | |||
1199 | 1198 | ||
1200 | <para> | 1199 | <para> |
1201 | The first thing your recipe must do is fetch the source files. | 1200 | The first thing your recipe must do is fetch the source files. |
1202 | Fetching is accomplished through the | 1201 | Fetching is controlled mainly through the |
1203 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> | 1202 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> |
1204 | variable. | 1203 | variable. |
1205 | Your recipe must have a <filename>SRC_URI</filename> variable | 1204 | Your recipe must have a <filename>SRC_URI</filename> variable |
@@ -1218,10 +1217,12 @@ | |||
1218 | </para> | 1217 | </para> |
1219 | 1218 | ||
1220 | <para> | 1219 | <para> |
1221 | You need to use an instance of the <filename>SRC_URI</filename> | 1220 | The instance (or instances) of the <filename>SRC_URI</filename> |
1222 | variable for each unique location holding your source file. | 1221 | variable in your recipe must define each unique location |
1223 | For example, if you need a tarball, and two patches, then you | 1222 | for your source files. |
1224 | need to use three instances of the variable in your recipe. | 1223 | For example, if you need a tarball, and two patches, then your |
1224 | <filename>SRC_URI</filename> statement(s) must point to the | ||
1225 | tarball and the patches. | ||
1225 | </para> | 1226 | </para> |
1226 | 1227 | ||
1227 | <para> | 1228 | <para> |