diff options
Diffstat (limited to 'documentation/kernel-dev/common.rst')
-rw-r--r-- | documentation/kernel-dev/common.rst | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst index fda41694dc..654c4e0a01 100644 --- a/documentation/kernel-dev/common.rst +++ b/documentation/kernel-dev/common.rst | |||
@@ -672,7 +672,7 @@ The steps in this procedure show you how you can patch the kernel using | |||
672 | 672 | ||
673 | Before attempting this procedure, be sure you have performed the | 673 | Before attempting this procedure, be sure you have performed the |
674 | steps to get ready for updating the kernel as described in the | 674 | steps to get ready for updating the kernel as described in the |
675 | ":ref:`kernel-dev/common:getting ready to develop using \`\`devtool\`\``" | 675 | ":ref:`kernel-dev/common:getting ready to develop using ``devtool```" |
676 | section. | 676 | section. |
677 | 677 | ||
678 | Patching the kernel involves changing or adding configurations to an | 678 | Patching the kernel involves changing or adding configurations to an |
@@ -685,7 +685,7 @@ output at boot time through ``printk`` statements in the kernel's | |||
685 | ``calibrate.c`` source code file. Applying the patch and booting the | 685 | ``calibrate.c`` source code file. Applying the patch and booting the |
686 | modified image causes the added messages to appear on the emulator's | 686 | modified image causes the added messages to appear on the emulator's |
687 | console. The example is a continuation of the setup procedure found in | 687 | console. The example is a continuation of the setup procedure found in |
688 | the ":ref:`kernel-dev/common:getting ready to develop using \`\`devtool\`\``" Section. | 688 | the ":ref:`kernel-dev/common:getting ready to develop using ``devtool```" Section. |
689 | 689 | ||
690 | #. *Check Out the Kernel Source Files:* First you must use ``devtool`` | 690 | #. *Check Out the Kernel Source Files:* First you must use ``devtool`` |
691 | to checkout the kernel source code in its workspace. | 691 | to checkout the kernel source code in its workspace. |
@@ -693,7 +693,7 @@ the ":ref:`kernel-dev/common:getting ready to develop using \`\`devtool\`\``" Se | |||
693 | .. note:: | 693 | .. note:: |
694 | 694 | ||
695 | See this step in the | 695 | See this step in the |
696 | ":ref:`kernel-dev/common:getting ready to develop using \`\`devtool\`\``" | 696 | ":ref:`kernel-dev/common:getting ready to develop using ``devtool```" |
697 | section for more information. | 697 | section for more information. |
698 | 698 | ||
699 | Use the following ``devtool`` command to check out the code:: | 699 | Use the following ``devtool`` command to check out the code:: |
@@ -804,7 +804,7 @@ the ":ref:`kernel-dev/common:getting ready to develop using \`\`devtool\`\``" Se | |||
804 | .. note:: | 804 | .. note:: |
805 | 805 | ||
806 | See Step 3 of the | 806 | See Step 3 of the |
807 | ":ref:`kernel-dev/common:getting ready to develop using \`\`devtool\`\``" | 807 | ":ref:`kernel-dev/common:getting ready to develop using ``devtool```" |
808 | section for information on setting up this layer. | 808 | section for information on setting up this layer. |
809 | 809 | ||
810 | Once the command | 810 | Once the command |
@@ -1190,7 +1190,7 @@ appear in the ``.config`` file, which is in the :term:`Build Directory`. | |||
1190 | 1190 | ||
1191 | For more information about where the ``.config`` file is located, see the | 1191 | For more information about where the ``.config`` file is located, see the |
1192 | example in the | 1192 | example in the |
1193 | ":ref:`kernel-dev/common:using \`\`menuconfig\`\``" | 1193 | ":ref:`kernel-dev/common:using ``menuconfig```" |
1194 | section. | 1194 | section. |
1195 | 1195 | ||
1196 | It is simple to create a configuration fragment. One method is to use | 1196 | It is simple to create a configuration fragment. One method is to use |
@@ -1286,7 +1286,7 @@ when you override a policy configuration in a hardware configuration | |||
1286 | fragment. | 1286 | fragment. |
1287 | 1287 | ||
1288 | In order to run this task, you must have an existing ``.config`` file. | 1288 | In order to run this task, you must have an existing ``.config`` file. |
1289 | See the ":ref:`kernel-dev/common:using \`\`menuconfig\`\``" section for | 1289 | See the ":ref:`kernel-dev/common:using ``menuconfig```" section for |
1290 | information on how to create a configuration file. | 1290 | information on how to create a configuration file. |
1291 | 1291 | ||
1292 | Here is sample output from the :ref:`ref-tasks-kernel_configcheck` task: | 1292 | Here is sample output from the :ref:`ref-tasks-kernel_configcheck` task: |
@@ -1359,7 +1359,7 @@ and | |||
1359 | tasks until they produce no warnings. | 1359 | tasks until they produce no warnings. |
1360 | 1360 | ||
1361 | For more information on how to use the ``menuconfig`` tool, see the | 1361 | For more information on how to use the ``menuconfig`` tool, see the |
1362 | :ref:`kernel-dev/common:using \`\`menuconfig\`\`` section. | 1362 | :ref:`kernel-dev/common:using ``menuconfig``` section. |
1363 | 1363 | ||
1364 | Fine-Tuning the Kernel Configuration File | 1364 | Fine-Tuning the Kernel Configuration File |
1365 | ----------------------------------------- | 1365 | ----------------------------------------- |
@@ -1562,16 +1562,9 @@ Here are some basic steps you can use to work with your own sources: | |||
1562 | changed. | 1562 | changed. |
1563 | 1563 | ||
1564 | - :term:`PV`: The default :term:`PV` | 1564 | - :term:`PV`: The default :term:`PV` |
1565 | assignment is typically adequate. It combines the | 1565 | assignment is typically adequate. It combines the value of |
1566 | :term:`LINUX_VERSION` with the Source Control Manager (SCM) revision | 1566 | :term:`LINUX_VERSION` and the value ``+git`` which adds source control |
1567 | as derived from the :term:`SRCPV` | 1567 | information to :term:`PKGV` later during the packaging phase. |
1568 | variable. The combined results are a string with the following | ||
1569 | form:: | ||
1570 | |||
1571 | 3.19.11+git1+68a635bf8dfb64b02263c1ac80c948647cc76d5f_1+218bd8d2022b9852c60d32f0d770931e3cf343e2 | ||
1572 | |||
1573 | While lengthy, the extra verbosity in :term:`PV` helps ensure you are | ||
1574 | using the exact sources from which you intend to build. | ||
1575 | 1568 | ||
1576 | - :term:`COMPATIBLE_MACHINE`: | 1569 | - :term:`COMPATIBLE_MACHINE`: |
1577 | A list of the machines supported by your new recipe. This variable | 1570 | A list of the machines supported by your new recipe. This variable |