diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-04-26 15:30:35 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-01 20:50:51 +0100 |
commit | 3f9f899002b6d8cd806e590803b6a52d48e89889 (patch) | |
tree | 6b5703db6d1afecea2a64cf0d81f7af86ae362f7 /documentation | |
parent | e96c33bad79039ef9de2e188a852f97b276af49e (diff) | |
download | poky-3f9f899002b6d8cd806e590803b6a52d48e89889.tar.gz |
documentation/dev-manual/dev-manual-bsp-appendix.xml: 3.2 for 3.0
Kernel used in now 3.2 and not 3.0.
(From yocto-docs rev: 974cb0c3665a2767a04ab6261692e93cc2f9200b)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-bsp-appendix.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/documentation/dev-manual/dev-manual-bsp-appendix.xml b/documentation/dev-manual/dev-manual-bsp-appendix.xml index bc2f3e15a0..856c718925 100644 --- a/documentation/dev-manual/dev-manual-bsp-appendix.xml +++ b/documentation/dev-manual/dev-manual-bsp-appendix.xml | |||
@@ -397,7 +397,7 @@ | |||
397 | The recipe for that kernel is not located in the | 397 | The recipe for that kernel is not located in the |
398 | BSP layer but rather in the local Yocto Project files at | 398 | BSP layer but rather in the local Yocto Project files at |
399 | <filename>meta/recipes-kernel/linux</filename> and is | 399 | <filename>meta/recipes-kernel/linux</filename> and is |
400 | named <filename>linux-yocto_3.0.bb</filename>. | 400 | named <filename>linux-yocto_3.2.bb</filename>. |
401 | The <filename>SRCREV_machine</filename> and <filename>SRCREV_meta</filename> | 401 | The <filename>SRCREV_machine</filename> and <filename>SRCREV_meta</filename> |
402 | statements point to the exact commits used by the Yocto Project development team | 402 | statements point to the exact commits used by the Yocto Project development team |
403 | in their source repositories that identify the right kernel for our hardware. | 403 | in their source repositories that identify the right kernel for our hardware. |
@@ -410,7 +410,7 @@ | |||
410 | <para> | 410 | <para> |
411 | However, in the <filename>meta-mymachine</filename> layer in | 411 | However, in the <filename>meta-mymachine</filename> layer in |
412 | <filename>recipes-kernel/linux</filename> resides a <filename>.bbappend</filename> | 412 | <filename>recipes-kernel/linux</filename> resides a <filename>.bbappend</filename> |
413 | file named <filename>linux-yocto_3.0.bbappend</filename> that | 413 | file named <filename>linux-yocto_3.2.bbappend</filename> that |
414 | appends information to the recipe of the same name in <filename>meta/recipes-kernel/linux</filename>. | 414 | appends information to the recipe of the same name in <filename>meta/recipes-kernel/linux</filename>. |
415 | Thus, the <filename>SRCREV</filename> statements in the append file override | 415 | Thus, the <filename>SRCREV</filename> statements in the append file override |
416 | the more general statements found in <filename>meta</filename>. | 416 | the more general statements found in <filename>meta</filename>. |
@@ -444,7 +444,7 @@ | |||
444 | </para> | 444 | </para> |
445 | 445 | ||
446 | <para> | 446 | <para> |
447 | To fix this situation in <filename>linux-yocto_3.0.bbappend</filename>, | 447 | To fix this situation in <filename>linux-yocto_3.2.bbappend</filename>, |
448 | we delete the two <filename>SRCREV</filename> statements that support | 448 | we delete the two <filename>SRCREV</filename> statements that support |
449 | EMGD (the top pair). | 449 | EMGD (the top pair). |
450 | We also change the remaining pair to specify <filename>mymachine</filename> | 450 | We also change the remaining pair to specify <filename>mymachine</filename> |
@@ -456,7 +456,7 @@ | |||
456 | that are associated with the &DISTRO_NAME; release. | 456 | that are associated with the &DISTRO_NAME; release. |
457 | To find those values, we need to find the <filename>SRCREV</filename> | 457 | To find those values, we need to find the <filename>SRCREV</filename> |
458 | values that &DISTRO_NAME; uses for the atom-pc branch, which we find in the | 458 | values that &DISTRO_NAME; uses for the atom-pc branch, which we find in the |
459 | <filename>poky/meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend</filename> | 459 | <filename>poky/meta-yocto/recipes-kernel/linux/linux-yocto_3.2.bbappend</filename> |
460 | file. | 460 | file. |
461 | </para> | 461 | </para> |
462 | 462 | ||
@@ -465,7 +465,7 @@ | |||
465 | <filename>SRCREV_machine_atom-pc</filename> variable. | 465 | <filename>SRCREV_machine_atom-pc</filename> variable. |
466 | The meta <filename>SRCREV</filename> isn't specified in this file, so it must be | 466 | The meta <filename>SRCREV</filename> isn't specified in this file, so it must be |
467 | specified in the base kernel recipe in the | 467 | specified in the base kernel recipe in the |
468 | <filename>poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb</filename> | 468 | <filename>poky/meta/recipes-kernel/linux/linux-yocto_3.2.bb</filename> |
469 | file, in the <filename>SRCREV_meta variable</filename> found there. | 469 | file, in the <filename>SRCREV_meta variable</filename> found there. |
470 | It happens to be the same as the value we already inherited from the | 470 | It happens to be the same as the value we already inherited from the |
471 | <filename>meta-crownbay</filename> BSP. | 471 | <filename>meta-crownbay</filename> BSP. |
@@ -490,8 +490,8 @@ | |||
490 | exact commit strings in the Yocto Project source repositories you need to change | 490 | exact commit strings in the Yocto Project source repositories you need to change |
491 | the <filename>SRCREV</filename> statements. | 491 | the <filename>SRCREV</filename> statements. |
492 | You can find all the <filename>machine</filename> and <filename>meta</filename> | 492 | You can find all the <filename>machine</filename> and <filename>meta</filename> |
493 | branch points (commits) for the <filename>linux-yocto-3.0</filename> kernel at | 493 | branch points (commits) for the <filename>linux-yocto-3.2</filename> kernel at |
494 | <ulink url='&YOCTO_GIT_URL;/cgit/cgit.cgi/linux-yocto-3.0'></ulink>. | 494 | <ulink url='&YOCTO_GIT_URL;/cgit/cgit.cgi/linux-yocto-3.2'></ulink>. |
495 | </para> | 495 | </para> |
496 | 496 | ||
497 | <para> | 497 | <para> |
@@ -502,7 +502,7 @@ | |||
502 | branch</para></listitem> | 502 | branch</para></listitem> |
503 | <listitem><para>Click on the commit column header to view the top commit</para></listitem> | 503 | <listitem><para>Click on the commit column header to view the top commit</para></listitem> |
504 | <listitem><para>Copy the commit string for use in the | 504 | <listitem><para>Copy the commit string for use in the |
505 | <filename>linux-yocto_3.0.bbappend</filename> file</para></listitem> | 505 | <filename>linux-yocto_3.2.bbappend</filename> file</para></listitem> |
506 | </orderedlist> | 506 | </orderedlist> |
507 | </para> | 507 | </para> |
508 | 508 | ||
@@ -513,7 +513,7 @@ | |||
513 | </para> | 513 | </para> |
514 | 514 | ||
515 | <para> | 515 | <para> |
516 | Also in the <filename>linux-yocto_3.0.bbappend</filename> file are | 516 | Also in the <filename>linux-yocto_3.2.bbappend</filename> file are |
517 | <filename>COMPATIBLE_MACHINE</filename>, <filename>KMACHINE</filename>, | 517 | <filename>COMPATIBLE_MACHINE</filename>, <filename>KMACHINE</filename>, |
518 | and <filename>KERNEL_FEATURES</filename> statements. | 518 | and <filename>KERNEL_FEATURES</filename> statements. |
519 | Two sets of these exist: one set supports EMGD and one set does not. | 519 | Two sets of these exist: one set supports EMGD and one set does not. |
@@ -523,10 +523,10 @@ | |||
523 | Because we are using the atom-pc branch for this new BSP, we can also find | 523 | Because we are using the atom-pc branch for this new BSP, we can also find |
524 | the exact branch we need for the KMACHINE variable in our new BSP from the value | 524 | the exact branch we need for the KMACHINE variable in our new BSP from the value |
525 | we find in the | 525 | we find in the |
526 | <filename>poky/meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend</filename> | 526 | <filename>poky/meta-yocto/recipes-kernel/linux/linux-yocto_3.2.bbappend</filename> |
527 | file we looked at in a previous step. | 527 | file we looked at in a previous step. |
528 | In this case, the value we want is in the KMACHINE_atom-pc variable in that file. | 528 | In this case, the value we want is in the KMACHINE_atom-pc variable in that file. |
529 | Here is the final <filename>linux-yocto_3.0.bbappend</filename> file after all | 529 | Here is the final <filename>linux-yocto_3.2.bbappend</filename> file after all |
530 | the edits: | 530 | the edits: |
531 | <literallayout class='monospaced'> | 531 | <literallayout class='monospaced'> |
532 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 532 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |