diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-08-11 10:29:20 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-15 15:27:03 +0100 |
| commit | e04e02cd4671848e481328c6443cf0f89ca75cfe (patch) | |
| tree | a8ee73063e0468aaf50518aec0564169afa5eed4 /documentation/dev-manual/dev-manual-kernel-appendix.xml | |
| parent | 9584cb5d1523625c4e595c4cd33d894449549268 (diff) | |
| download | poky-e04e02cd4671848e481328c6443cf0f89ca75cfe.tar.gz | |
documentation/dev-manual: Changed 2.6.37 to 3.0 for 1.1 release.
Bruce Ashfield's review comments indicated that we will be using
linux-yocto-3.0 and not linux-yocto-2.6.37. So I am putting these
changes in to anticipate the 1.1 release.
(From yocto-docs rev: ecbe1c90c5aa65b2dde77ba6094b5956e37d061d)
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/dev-manual-kernel-appendix.xml')
| -rw-r--r-- | documentation/dev-manual/dev-manual-kernel-appendix.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/documentation/dev-manual/dev-manual-kernel-appendix.xml b/documentation/dev-manual/dev-manual-kernel-appendix.xml index d7b5587cb9..4000a0b943 100644 --- a/documentation/dev-manual/dev-manual-kernel-appendix.xml +++ b/documentation/dev-manual/dev-manual-kernel-appendix.xml | |||
| @@ -176,7 +176,7 @@ | |||
| 176 | <title>Setting Up the Bare Clone and its Copy</title> | 176 | <title>Setting Up the Bare Clone and its Copy</title> |
| 177 | 177 | ||
| 178 | <para> | 178 | <para> |
| 179 | This example modifies the <filename>linux-yocto-2.6.37</filename> kernel. | 179 | This example modifies the <filename>linux-yocto-3.0</filename> kernel. |
| 180 | Thus, you need to create a bare clone of that kernel and then make a copy of the | 180 | Thus, you need to create a bare clone of that kernel and then make a copy of the |
| 181 | bare clone. | 181 | bare clone. |
| 182 | See the bulleted item | 182 | See the bulleted item |
| @@ -189,12 +189,12 @@ | |||
| 189 | The bare clone exists for the kernel build tools and simply as the receiving end | 189 | The bare clone exists for the kernel build tools and simply as the receiving end |
| 190 | of <filename>git push</filename> | 190 | of <filename>git push</filename> |
| 191 | commands after you make edits and commits inside the copy of the clone. | 191 | commands after you make edits and commits inside the copy of the clone. |
| 192 | The copy (<filename>linux-yocto-2.6.37</filename> in this example) has to have | 192 | The copy (<filename>linux-yocto-3.0</filename> in this example) has to have |
| 193 | a local branch created and checked out for your work. | 193 | a local branch created and checked out for your work. |
| 194 | This example uses <filename>common-pc-base</filename> as the local branch. | 194 | This example uses <filename>common-pc-base</filename> as the local branch. |
| 195 | The following commands create and checkout the branch: | 195 | The following commands create and checkout the branch: |
| 196 | <literallayout class='monospaced'> | 196 | <literallayout class='monospaced'> |
| 197 | $ cd ~/linux-yocto-2.6.37 | 197 | $ cd ~/linux-yocto-3.0 |
| 198 | $ git checkout -b common-pc-base origin/yocto/standard/common-pc/base | 198 | $ git checkout -b common-pc-base origin/yocto/standard/common-pc/base |
| 199 | Branch common-pc-base set up to track remote branch yocto/standard/common-pc/base from origin. | 199 | Branch common-pc-base set up to track remote branch yocto/standard/common-pc/base from origin. |
| 200 | Switched to a new branch 'common-pc-base' | 200 | Switched to a new branch 'common-pc-base' |
| @@ -287,7 +287,7 @@ | |||
| 287 | 287 | ||
| 288 | <para> | 288 | <para> |
| 289 | The file you change in this example is named <filename>calibrate.c</filename> | 289 | The file you change in this example is named <filename>calibrate.c</filename> |
| 290 | and is located in the <filename>linux-yocto-2.6.37</filename> Git repository | 290 | and is located in the <filename>linux-yocto-3.0</filename> Git repository |
| 291 | (the copy of the bare clone) in <filename>init</filename>. | 291 | (the copy of the bare clone) in <filename>init</filename>. |
| 292 | This example simply inserts several <filename>printk</filename> statements | 292 | This example simply inserts several <filename>printk</filename> statements |
| 293 | at the beginning of the <filename>calibrate_delay</filename> function. | 293 | at the beginning of the <filename>calibrate_delay</filename> function. |
| @@ -409,20 +409,20 @@ | |||
| 409 | " | 409 | " |
| 410 | </literallayout></para></listitem> | 410 | </literallayout></para></listitem> |
| 411 | <listitem><para><emphasis>Identify Your Source Files</emphasis> - In the | 411 | <listitem><para><emphasis>Identify Your Source Files</emphasis> - In the |
| 412 | <filename>linux-yocto_2.6.37.bbappend</filename> file located in the | 412 | <filename>linux-yocto_3.0.bbappend</filename> file located in the |
| 413 | <filename>poky-extras/meta-kernel-dev/recipes-kernel/linux</filename> | 413 | <filename>poky-extras/meta-kernel-dev/recipes-kernel/linux</filename> |
| 414 | directory, you need to identify the location of the | 414 | directory, you need to identify the location of the |
| 415 | local source code, which in this example is the bare clone named | 415 | local source code, which in this example is the bare clone named |
| 416 | <filename>linux-yocto-2.6.37.git</filename>. | 416 | <filename>linux-yocto-3.0.git</filename>. |
| 417 | To do this, set the <filename>KSRC_linux_yocto</filename> variable to point to your | 417 | To do this, set the <filename>KSRC_linux_yocto</filename> variable to point to your |
| 418 | local <filename>linux-yocto-2.6.37.git</filename> Git repository by adding the | 418 | local <filename>linux-yocto-3.0.git</filename> Git repository by adding the |
| 419 | following statement. | 419 | following statement. |
| 420 | Be sure to substitute your user information in the statement: | 420 | Be sure to substitute your user information in the statement: |
| 421 | <literallayout class='monospaced'> | 421 | <literallayout class='monospaced'> |
| 422 | KSRC_linux_yocto ?= /home/scottrif/linux-yocto-2.6.37.git | 422 | KSRC_linux_yocto ?= /home/scottrif/linux-yocto-3.0.git |
| 423 | </literallayout></para></listitem> | 423 | </literallayout></para></listitem> |
| 424 | <listitem><para><emphasis>Specify the Kernel Machine</emphasis> - Also in the | 424 | <listitem><para><emphasis>Specify the Kernel Machine</emphasis> - Also in the |
| 425 | <filename>linux-yocto_2.6.37.bbappend</filename> file, you need to specify | 425 | <filename>linux-yocto_3.0.bbappend</filename> file, you need to specify |
| 426 | the kernel machine with the following statement: | 426 | the kernel machine with the following statement: |
| 427 | <literallayout class='monospaced'> | 427 | <literallayout class='monospaced'> |
| 428 | KMACHINE_qemux86 = "yocto/standard/common-pc/base" | 428 | KMACHINE_qemux86 = "yocto/standard/common-pc/base" |
| @@ -438,7 +438,7 @@ | |||
| 438 | comment out the <filename>COMPATIBLE_MACHINE</filename> statements in all | 438 | comment out the <filename>COMPATIBLE_MACHINE</filename> statements in all |
| 439 | <filename>.bbappend</filename> files, or you should simply remove all the files | 439 | <filename>.bbappend</filename> files, or you should simply remove all the files |
| 440 | except the one your are using for the build | 440 | except the one your are using for the build |
| 441 | (i.e. <filename>linux-yocto_2.6.37.bbappend</filename> in this example). | 441 | (i.e. <filename>linux-yocto_3.0.bbappend</filename> in this example). |
| 442 | </note> | 442 | </note> |
| 443 | </section> | 443 | </section> |
| 444 | 444 | ||
