diff options
Diffstat (limited to 'documentation/kernel-dev')
-rw-r--r-- | documentation/kernel-dev/kernel-dev-common.xml | 19 |
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 3645a5acdd..96c7933805 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> |