summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-04-26 16:04:12 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-01 20:50:52 +0100
commitd5198e605a299158270c246f29abfe8804f299bf (patch)
tree29cdc25446604e9de2acb6dbf0bca16215197abc /documentation/dev-manual
parent3f9f899002b6d8cd806e590803b6a52d48e89889 (diff)
downloadpoky-d5198e605a299158270c246f29abfe8804f299bf.tar.gz
documentation/dev-manual/dev-manual-bsp-appendix.xml: recipes-kernel update
The section on changing recipes-kernel was way out of date. I updated all relavent changes. (From yocto-docs rev: 91538864e6da8c4d0a495e52feafe01ce7afea9d) 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-bsp-appendix.xml41
1 files changed, 20 insertions, 21 deletions
diff --git a/documentation/dev-manual/dev-manual-bsp-appendix.xml b/documentation/dev-manual/dev-manual-bsp-appendix.xml
index 856c718925..8a0bdb88b6 100644
--- a/documentation/dev-manual/dev-manual-bsp-appendix.xml
+++ b/documentation/dev-manual/dev-manual-bsp-appendix.xml
@@ -422,14 +422,14 @@
422 Here are the statements: 422 Here are the statements:
423 <literallayout class='monospaced'> 423 <literallayout class='monospaced'>
424 SRCREV_machine_pn-linux-yocto_crownbay ?= \ 424 SRCREV_machine_pn-linux-yocto_crownbay ?= \
425 "2247da9131ea7e46ed4766a69bb1353dba22f873" 425 "211fc7f4d10ec2b82b424286aabbaff9254b7cbd"
426 SRCREV_meta_pn-linux-yocto_crownbay ?= \ 426 SRCREV_meta_pn-linux-yocto_crownbay ?= \
427 "d05450e4aef02c1b7137398ab3a9f8f96da74f52" 427 "514847185c78c07f52e02750fbe0a03ca3a31d8f"
428 428
429 SRCREV_machine_pn-linux-yocto_crownbay-noemgd ?= \ 429 SRCREV_machine_pn-linux-yocto_crownbay-noemgd ?= \
430 "2247da9131ea7e46ed4766a69bb1353dba22f873" 430 "211fc7f4d10ec2b82b424286aabbaff9254b7cbd"
431 SRCREV_meta_pn-linux-yocto_crownbay-noemgd ?= \ 431 SRCREV_meta_pn-linux-yocto_crownbay-noemgd ?= \
432 "d05450e4aef02c1b7137398ab3a9f8f96da74f52" 432 "514847185c78c07f52e02750fbe0a03ca3a31d8f"
433 </literallayout> 433 </literallayout>
434 </para> 434 </para>
435 435
@@ -466,15 +466,13 @@
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.2.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</filename> variable found there.
470 It happens to be the same as the value we already inherited from the
471 <filename>meta-crownbay</filename> BSP.
472 Here are the final <filename>SRCREV</filename> statements: 470 Here are the final <filename>SRCREV</filename> statements:
473 <literallayout class='monospaced'> 471 <literallayout class='monospaced'>
474 SRCREV_machine_pn-linux-yocto_mymachine ?= \ 472 SRCREV_machine_pn-linux-yocto_mymachine ?= \
475 "1e18e44adbe79b846e382370eb29bc4b8cd5a1a0" 473 "f29531a41df15d74be5ad47d958e4117ca9e489e"
476 SRCREV_meta_pn-linux-yocto_mymachine ?= \ 474 SRCREV_meta_pn-linux-yocto_mymachine ?= \
477 "d05450e4aef02c1b7137398ab3a9f8f96da74f52" 475 "b14a08f5c7b469a5077c10942f4e1aec171faa9d"
478 </literallayout> 476 </literallayout>
479 </para> 477 </para>
480 478
@@ -498,7 +496,7 @@
498 If you need a little more assistance after going to the link then do the following: 496 If you need a little more assistance after going to the link then do the following:
499 <orderedlist> 497 <orderedlist>
500 <listitem><para>Expand the list of branches by clicking <filename>[…]</filename></para></listitem> 498 <listitem><para>Expand the list of branches by clicking <filename>[…]</filename></para></listitem>
501 <listitem><para>Click on the <filename>yocto/standard/common-pc/atom-pc</filename> 499 <listitem><para>Click on the <filename>standard/default/common-pc/atom-pc</filename>
502 branch</para></listitem> 500 branch</para></listitem>
503 <listitem><para>Click on the commit column header to view the top commit</para></listitem> 501 <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 502 <listitem><para>Copy the commit string for use in the
@@ -515,30 +513,31 @@
515 <para> 513 <para>
516 Also in the <filename>linux-yocto_3.2.bbappend</filename> file are 514 Also in the <filename>linux-yocto_3.2.bbappend</filename> file are
517 <filename>COMPATIBLE_MACHINE</filename>, <filename>KMACHINE</filename>, 515 <filename>COMPATIBLE_MACHINE</filename>, <filename>KMACHINE</filename>,
518 and <filename>KERNEL_FEATURES</filename> statements. 516 <filename>KBRANCH</filename>, and <filename>KERNEL_FEATURES</filename> statements.
519 Two sets of these exist: one set supports EMGD and one set does not. 517 Two sets of these exist: one set supports EMGD and one set does not.
520 Because we are not interested in supporting EMGD those three can be deleted. 518 Because we are not interested in supporting EMGD those four can be deleted.
521 The remaining three must be changed so that <filename>mymachine</filename> replaces 519 The remaining four must be changed so that <filename>mymachine</filename> replaces
522 <filename>crownbay-noemgd</filename> and <filename>crownbay</filename>. 520 <filename>crownbay-noemgd</filename> and <filename>crownbay</filename>.
523 Because we are using the atom-pc branch for this new BSP, we can also find 521 Because we are using the <filename>atom-pc</filename> 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 522 the exact branch we need for the <filename>KMACHINE</filename> variable in our new BSP from the value
525 we find in the 523 we find in the
526 <filename>poky/meta-yocto/recipes-kernel/linux/linux-yocto_3.2.bbappend</filename> 524 <filename>poky/meta-yocto/recipes-kernel/linux/linux-yocto_3.2.bbappend</filename>
527 file we looked at in a previous step. 525 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. 526 In this case, the value we want is in the <filename>KMACHINE_atom-pc</filename> variable in that file.
529 Here is the final <filename>linux-yocto_3.2.bbappend</filename> file after all 527 Here is the final <filename>linux-yocto_3.2.bbappend</filename> file after all
530 the edits: 528 the edits:
531 <literallayout class='monospaced'> 529 <literallayout class='monospaced'>
532 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 530 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
533 531
534 COMPATIBLE_MACHINE_mymachine = "mymachine" 532 COMPATIBLE_MACHINE_mymachine = "mymachine"
535 KMACHINE_mymachine = "yocto/standard/common-pc/atom-pc" 533 KMACHINE_mymachine = "atom-pc"
534 KBRANCH_mymachine = "standard/default/common-pc/atom-pc"
536 KERNEL_FEATURES_append_mymachine += " cfg/smp.scc" 535 KERNEL_FEATURES_append_mymachine += " cfg/smp.scc"
537 536
538 SRCREV_machine_pn-linux-yocto_mymachine ?= \ 537 SRCREV_machine_pn-linux-yocto_mymachine ?= \
539 "1e18e44adbe79b846e382370eb29bc4b8cd5a1a0" 538 "f29531a41df15d74be5ad47d958e4117ca9e489e"
540 SRCREV_meta_pn-linux-yocto_mymachine ?= \ 539 SRCREV_meta_pn-linux-yocto_mymachine ?= \
541 "d05450e4aef02c1b7137398ab3a9f8f96da74f52" 540 "b14a08f5c7b469a5077c10942f4e1aec171faa9d"
542 </literallayout> 541 </literallayout>
543 </para> 542 </para>
544 </section> 543 </section>