diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-01-11 14:57:24 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-16 15:59:18 +0000 |
| commit | e4e2c72a40dbc41c19939f0a8bea285ef05ddf89 (patch) | |
| tree | cb26e07268e2eb7b85da74a7287fba8191782fa9 /documentation/kernel-dev | |
| parent | c9f796dbd7300970282c4c4bba1ac8e2eca2fba9 (diff) | |
| download | poky-e4e2c72a40dbc41c19939f0a8bea285ef05ddf89.tar.gz | |
kernel-dev: Edits to "Creating and Preparing a Layer"
Changed the name of this section and took out the bit about
the manual being written with the assumption of a custom
layer being created. The manual does not particularly call
this out with any examples so it is not needed.
I pulled the copy of the original text also.
(From yocto-docs rev: c7623d96ed2d9c5866e52842f8cfea2ebde95d0e)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev')
| -rw-r--r-- | documentation/kernel-dev/kernel-dev-common.xml | 35 |
1 files changed, 9 insertions, 26 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 83d5db3f6e..9a55d7f555 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml | |||
| @@ -14,20 +14,17 @@ | |||
| 14 | out-of-tree modules. | 14 | out-of-tree modules. |
| 15 | </para> | 15 | </para> |
| 16 | 16 | ||
| 17 | <section id='preparing-a-layer'> | 17 | <section id='creating-and-preparing-a-layer'> |
| 18 | <title>Preparing a Layer</title> | 18 | <title>Creating and Preparing a Layer</title> |
| 19 | 19 | ||
| 20 | <para> | 20 | <para> |
| 21 | Customizing kernel recipes is best done in your own custom layer. | 21 | If you are going to be modifying kernel recipes, it is recommended |
| 22 | Your layer will have its own BitBake append files | 22 | that you create and prepare your own layer in which to do your |
| 23 | (<filename>.bbappend</filename>) and provide a convenient | 23 | work. |
| 24 | mechanism to create your own recipe files (<filename>.bb</filename>). | 24 | Your layer contains its own BitBake append files |
| 25 | </para> | 25 | (<filename>.bbappend</filename>) and provides a convenient |
| 26 | 26 | mechanism to create your own recipe files | |
| 27 | <para> | 27 | (<filename>.bb</filename>). |
| 28 | This guide is written with the assumption that you will be working | ||
| 29 | from within your custom layer that is independent from layers | ||
| 30 | released with the Yocto Project. | ||
| 31 | For details on how to create and work with layers, see the following | 28 | For details on how to create and work with layers, see the following |
| 32 | sections in the Yocto Project Development Manual: | 29 | sections in the Yocto Project Development Manual: |
| 33 | <itemizedlist> | 30 | <itemizedlist> |
| @@ -38,20 +35,6 @@ | |||
| 38 | development.</para></listitem> | 35 | development.</para></listitem> |
| 39 | </itemizedlist> | 36 | </itemizedlist> |
| 40 | </para> | 37 | </para> |
| 41 | |||
| 42 | <para> | ||
| 43 | Original text: | ||
| 44 | <literallayout class='monospaced'> | ||
| 45 | Customizing recipes is best done in a layer with bbappend files. Layers also | ||
| 46 | provide a convenient mechanism to create your own recipes. This guide assumes | ||
| 47 | you will be working from within a layer independent from those released with the | ||
| 48 | Yocto Project. For details on how to create and work with layers, refer to | ||
| 49 | section 5.1 Understanding and Creating Layers in the Yocto Project Development | ||
| 50 | Manual. | ||
| 51 | |||
| 52 | (Kernel specific directions in 5.7.4) | ||
| 53 | </literallayout> | ||
| 54 | </para> | ||
| 55 | </section> | 38 | </section> |
| 56 | 39 | ||
| 57 | <section id='modifying-an-existing-recipe'> | 40 | <section id='modifying-an-existing-recipe'> |
