diff options
author | Robert P. J. Day <crashcourse.ca> | 2013-11-22 10:21:27 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 12:53:19 +0000 |
commit | 47e7abc5190ccbcef1ae6c7cb46f563d30b32f32 (patch) | |
tree | 197c4b80020019c943a5f49dccced8f72afef2ad /documentation/dev-manual | |
parent | 4f7c36639c699508d792aa52820f1a84980597df (diff) | |
download | poky-47e7abc5190ccbcef1ae6c7cb46f563d30b32f32.tar.gz |
dev-manual: Number of minor tweaks to Dev Manual, Chapter 5.
(From yocto-docs rev: 1027c4aefa0ba9f341c56eda7ee672d26c5e6813)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 1c5c17be07..ea1f0e5ec2 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -9,7 +9,7 @@ | |||
9 | This chapter describes fundamental procedures such as creating layers, | 9 | This chapter describes fundamental procedures such as creating layers, |
10 | adding new software packages, extending or customizing images, | 10 | adding new software packages, extending or customizing images, |
11 | porting work to new hardware (adding a new machine), and so forth. | 11 | porting work to new hardware (adding a new machine), and so forth. |
12 | You will find the procedures documented here occur often in the | 12 | You will find that the procedures documented here occur often in the |
13 | development cycle using the Yocto Project. | 13 | development cycle using the Yocto Project. |
14 | </para> | 14 | </para> |
15 | 15 | ||
@@ -23,7 +23,7 @@ | |||
23 | each other. | 23 | each other. |
24 | You might find it tempting to keep everything in one layer when | 24 | You might find it tempting to keep everything in one layer when |
25 | working on a single project. | 25 | working on a single project. |
26 | However, the more modular you organize your Metadata, the easier | 26 | However, the more modular your Metadata, the easier |
27 | it is to cope with future changes. | 27 | it is to cope with future changes. |
28 | </para> | 28 | </para> |
29 | 29 | ||
@@ -77,7 +77,7 @@ | |||
77 | </para> | 77 | </para> |
78 | 78 | ||
79 | <para> | 79 | <para> |
80 | Furthermore, if you set up a local copy of the | 80 | As another example, if you set up a local copy of the |
81 | <filename>meta-intel</filename> Git repository | 81 | <filename>meta-intel</filename> Git repository |
82 | and then explore the folder of that general layer, | 82 | and then explore the folder of that general layer, |
83 | you will discover many Intel-specific BSP layers inside. | 83 | you will discover many Intel-specific BSP layers inside. |
@@ -224,7 +224,7 @@ | |||
224 | file within the layer. | 224 | file within the layer. |
225 | If the layer adds distro policy, add the distro | 225 | If the layer adds distro policy, add the distro |
226 | configuration in a <filename>conf/distro/</filename> | 226 | configuration in a <filename>conf/distro/</filename> |
227 | file with the layer. | 227 | file within the layer. |
228 | If the layer introduces new recipes, put the recipes | 228 | If the layer introduces new recipes, put the recipes |
229 | you need in <filename>recipes-*</filename> | 229 | you need in <filename>recipes-*</filename> |
230 | subdirectories within the layer. | 230 | subdirectories within the layer. |
@@ -810,7 +810,7 @@ | |||
810 | <filename><layer>.conf</filename>). | 810 | <filename><layer>.conf</filename>). |
811 | </para></listitem> | 811 | </para></listitem> |
812 | <listitem><para><emphasis>The | 812 | <listitem><para><emphasis>The |
813 | <filename>COPYING.MIT</filename>:</emphasis> | 813 | <filename>COPYING.MIT</filename> file:</emphasis> |
814 | The copyright and use notice for the software. | 814 | The copyright and use notice for the software. |
815 | </para></listitem> | 815 | </para></listitem> |
816 | <listitem><para><emphasis>The <filename>README</filename> | 816 | <listitem><para><emphasis>The <filename>README</filename> |
@@ -826,7 +826,7 @@ | |||
826 | in <filename><layer>/recipes-example/example/</filename>. | 826 | in <filename><layer>/recipes-example/example/</filename>. |
827 | The script creates a <filename>.bb</filename> file and a | 827 | The script creates a <filename>.bb</filename> file and a |
828 | directory, which contains a sample | 828 | directory, which contains a sample |
829 | <filename>helloworld.c</filename> source file and along with | 829 | <filename>helloworld.c</filename> source file, along with |
830 | a sample patch file. | 830 | a sample patch file. |
831 | If you do not provide a recipe name, the script uses | 831 | If you do not provide a recipe name, the script uses |
832 | "example". | 832 | "example". |
@@ -1131,7 +1131,7 @@ | |||
1131 | <title>Writing a Recipe to Add a Package to Your Image</title> | 1131 | <title>Writing a Recipe to Add a Package to Your Image</title> |
1132 | 1132 | ||
1133 | <para> | 1133 | <para> |
1134 | Recipes add packages to your image. | 1134 | Recipes let you define packages you can add to your image. |
1135 | Writing a recipe means creating a <filename>.bb</filename> file that sets some | 1135 | Writing a recipe means creating a <filename>.bb</filename> file that sets some |
1136 | variables. | 1136 | variables. |
1137 | For information on variables that are useful for recipes and for information about recipe naming | 1137 | For information on variables that are useful for recipes and for information about recipe naming |
@@ -1546,7 +1546,7 @@ | |||
1546 | You need to create a <filename>configure</filename> task that configures the | 1546 | You need to create a <filename>configure</filename> task that configures the |
1547 | unpacked kernel with a defconfig. | 1547 | unpacked kernel with a defconfig. |
1548 | You can do this by using a <filename>make defconfig</filename> command or, | 1548 | You can do this by using a <filename>make defconfig</filename> command or, |
1549 | more commonly, by copying in a suitable <filename>defconfig</filename> file and and then running | 1549 | more commonly, by copying in a suitable <filename>defconfig</filename> file and then running |
1550 | <filename>make oldconfig</filename>. | 1550 | <filename>make oldconfig</filename>. |
1551 | By making use of <filename>inherit kernel</filename> and potentially some of the | 1551 | By making use of <filename>inherit kernel</filename> and potentially some of the |
1552 | <filename>linux-*.inc</filename> files, most other functionality is | 1552 | <filename>linux-*.inc</filename> files, most other functionality is |