summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-01-14 19:52:28 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-16 15:59:20 (GMT)
commitb34a14014c929b5672f6ff9f5b22a0720f5dcdc3 (patch)
tree9695882e44fe12b8049c4d9166af7474ebe25eb8 /documentation/kernel-dev
parentac5cee5ea11c348f80a4713d90bc93244bb9da28 (diff)
downloadpoky-b34a14014c929b5672f6ff9f5b22a0720f5dcdc3.tar.gz
kernel-dev: Edits to the "Working with your Own Sources" section.
Final tweaks to this list of variables. (From yocto-docs rev: d494c8b06a623ef4930e206dd8e5689c8a9d4923) 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.xml19
1 files changed, 12 insertions, 7 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml
index 3645a5a..96c7933 100644
--- a/documentation/kernel-dev/kernel-dev-common.xml
+++ b/documentation/kernel-dev/kernel-dev-common.xml
@@ -449,9 +449,10 @@
449 <para> 449 <para>
450 To help you use your own sources, the Yocto Project provides a 450 To help you use your own sources, the Yocto Project provides a
451 linux-yocto custom recipe 451 linux-yocto custom recipe
452 <filename>linux-yocto-custom.bb</filename> that uses 452 (<filename>linux-yocto-custom.bb</filename>) that uses
453 <filename>kernel.org</filename> sources 453 <filename>kernel.org</filename> sources
454 and the Yocto Project Linux kernel tools for managing Metadata. 454 and the Yocto Project Linux kernel tools for managing
455 kernel Metadata.
455 You can find this recipe in the 456 You can find this recipe in the
456 <filename>poky</filename> Git repository of the 457 <filename>poky</filename> Git repository of the
457 Yocto Project <ulink url='&YOCTO_GIT_URL;'>Source Repository</ulink> 458 Yocto Project <ulink url='&YOCTO_GIT_URL;'>Source Repository</ulink>
@@ -469,7 +470,7 @@
469 The name should include the version of the Linux kernel you 470 The name should include the version of the Linux kernel you
470 are using (e.g. <filename>linux-yocto-myproject_3.5.bb</filename>, 471 are using (e.g. <filename>linux-yocto-myproject_3.5.bb</filename>,
471 where "3.5" is the base version of the Linux kernel 472 where "3.5" is the base version of the Linux kernel
472 with which you would be working.</para></listitem> 473 with which you would be working).</para></listitem>
473 <listitem><para>In the same directory inside your layer, 474 <listitem><para>In the same directory inside your layer,
474 create a matching directory 475 create a matching directory
475 to store your patches and configuration files (e.g. 476 to store your patches and configuration files (e.g.
@@ -489,7 +490,7 @@
489 </para></listitem> 490 </para></listitem>
490 <listitem><para><filename>LINUX_VERSION</filename>: 491 <listitem><para><filename>LINUX_VERSION</filename>:
491 The Linux kernel version you are using (e.g. 492 The Linux kernel version you are using (e.g.
492 "3.6.3").</para></listitem> 493 "3.4").</para></listitem>
493 <listitem><para><filename>LINUX_VERSION_EXTENSION</filename>: 494 <listitem><para><filename>LINUX_VERSION_EXTENSION</filename>:
494 The Linux kernel <filename>CONFIG_LOCALVERSION</filename> 495 The Linux kernel <filename>CONFIG_LOCALVERSION</filename>
495 that is compiled into the resulting kernel and visible 496 that is compiled into the resulting kernel and visible
@@ -508,8 +509,11 @@
508 The default <filename>PV</filename> assignment is 509 The default <filename>PV</filename> assignment is
509 typically adequate. 510 typically adequate.
510 It combines the <filename>LINUX_VERSION</filename> 511 It combines the <filename>LINUX_VERSION</filename>
511 with the SCM revision (from the SRCPV variable) 512 with the Source Control Manager (SCM) revision
512 and results in a string using the following form: 513 as derived from the <filename>SRCPV</filename>
514 variable.
515 The combined results are a string with
516 the following form:
513 <literallayout class='monospaced'> 517 <literallayout class='monospaced'>
514 3.4.11+git1+68a635bf8dfb64b02263c1ac80c948647cc76d5f_1+218bd8d2022b9852c60d32f0d770931e3cf343e2 518 3.4.11+git1+68a635bf8dfb64b02263c1ac80c948647cc76d5f_1+218bd8d2022b9852c60d32f0d770931e3cf343e2
515 </literallayout> 519 </literallayout>
@@ -522,7 +526,8 @@
522 This variable in the example recipe is set 526 This variable in the example recipe is set
523 by default to a regular expression that matches 527 by default to a regular expression that matches
524 only the empty string, "(^$)". 528 only the empty string, "(^$)".
525 This default setting triggers an explicit build failure. 529 This default setting triggers an explicit build
530 failure.
526 You must change it to match a list of the machines 531 You must change it to match a list of the machines
527 that your new recipe supports. 532 that your new recipe supports.
528 For example, to support the <filename>qemux86</filename> 533 For example, to support the <filename>qemux86</filename>