summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev/kernel-dev-common.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/kernel-dev/kernel-dev-common.rst')
-rw-r--r--documentation/kernel-dev/kernel-dev-common.rst31
1 files changed, 15 insertions, 16 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.rst b/documentation/kernel-dev/kernel-dev-common.rst
index f264cea159..813f4047e2 100644
--- a/documentation/kernel-dev/kernel-dev-common.rst
+++ b/documentation/kernel-dev/kernel-dev-common.rst
@@ -24,8 +24,8 @@ host is set up to use the Yocto Project. For information on how to get
24set up, see the "`Preparing the Build 24set up, see the "`Preparing the Build
25Host <&YOCTO_DOCS_DEV_URL;#dev-preparing-the-build-host>`__" section in 25Host <&YOCTO_DOCS_DEV_URL;#dev-preparing-the-build-host>`__" section in
26the Yocto Project Development Tasks Manual. Part of preparing the system 26the Yocto Project Development Tasks Manual. Part of preparing the system
27is creating a local Git repository of the `Source 27is creating a local Git repository of the
28Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__ (``poky``) on your 28:term:`Source Directory` (``poky``) on your
29system. Follow the steps in the "`Cloning the ``poky`` 29system. Follow the steps in the "`Cloning the ``poky``
30Repository <&YOCTO_DOCS_DEV_URL;#cloning-the-poky-repository>`__" 30Repository <&YOCTO_DOCS_DEV_URL;#cloning-the-poky-repository>`__"
31section in the Yocto Project Development Tasks Manual to set up your 31section in the Yocto Project Development Tasks Manual to set up your
@@ -76,8 +76,8 @@ section:
76 "qemux86-64", which is fine if you are building for the QEMU emulator 76 "qemux86-64", which is fine if you are building for the QEMU emulator
77 in 64-bit mode. However, if you are not, you need to set the 77 in 64-bit mode. However, if you are not, you need to set the
78 ``MACHINE`` variable appropriately in your ``conf/local.conf`` file 78 ``MACHINE`` variable appropriately in your ``conf/local.conf`` file
79 found in the `Build 79 found in the
80 Directory <&YOCTO_DOCS_REF_URL;#build-directory>`__ (i.e. 80 :term:`Build Directory` (i.e.
81 ``~/poky/build`` in this example). 81 ``~/poky/build`` in this example).
82 82
83 Also, since you are preparing to work on the kernel image, you need 83 Also, since you are preparing to work on the kernel image, you need
@@ -240,8 +240,8 @@ section:
240 "qemux86-64", which is fine if you are building for the QEMU emulator 240 "qemux86-64", which is fine if you are building for the QEMU emulator
241 in 64-bit mode. However, if you are not, you need to set the 241 in 64-bit mode. However, if you are not, you need to set the
242 ``MACHINE`` variable appropriately in your ``conf/local.conf`` file 242 ``MACHINE`` variable appropriately in your ``conf/local.conf`` file
243 found in the `Build 243 found in the
244 Directory <&YOCTO_DOCS_REF_URL;#build-directory>`__ (i.e. 244 :term:`Build Directory` (i.e.
245 ``~/poky/build`` in this example). 245 ``~/poky/build`` in this example).
246 246
247 Also, since you are preparing to work on the kernel image, you need 247 Also, since you are preparing to work on the kernel image, you need
@@ -289,8 +289,8 @@ section:
289 ` <&YOCTO_GIT_URL;>`__. 289 ` <&YOCTO_GIT_URL;>`__.
290 290
291 For simplicity, it is recommended that you create your copy of the 291 For simplicity, it is recommended that you create your copy of the
292 kernel Git repository outside of the `Source 292 kernel Git repository outside of the
293 Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__, which is 293 :term:`Source Directory`, which is
294 usually named ``poky``. Also, be sure you are in the 294 usually named ``poky``. Also, be sure you are in the
295 ``standard/base`` branch. 295 ``standard/base`` branch.
296 296
@@ -317,8 +317,8 @@ section:
317 317
3186. *Create a Local Copy of the Kernel Cache Git Repository:* For 3186. *Create a Local Copy of the Kernel Cache Git Repository:* For
319 simplicity, it is recommended that you create your copy of the kernel 319 simplicity, it is recommended that you create your copy of the kernel
320 cache Git repository outside of the `Source 320 cache Git repository outside of the
321 Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__, which is 321 :term:`Source Directory`, which is
322 usually named ``poky``. Also, for this example, be sure you are in 322 usually named ``poky``. Also, for this example, be sure you are in
323 the ``yocto-4.12`` branch. 323 the ``yocto-4.12`` branch.
324 324
@@ -483,8 +483,8 @@ ensure the build process uses the appropriate kernel branch.
483Although this particular example does not use it, the 483Although this particular example does not use it, the
484:term:`KERNEL_FEATURES` 484:term:`KERNEL_FEATURES`
485variable could be used to enable features specific to the kernel. The 485variable could be used to enable features specific to the kernel. The
486append file points to specific commits in the `Source 486append file points to specific commits in the
487Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__ Git repository and 487:term:`Source Directory` Git repository and
488the ``meta`` Git repository branches to identify the exact kernel needed 488the ``meta`` Git repository branches to identify the exact kernel needed
489to build the BSP. 489to build the BSP.
490 490
@@ -781,8 +781,8 @@ the "`Getting Ready to Develop Using
781 781
7828. *Build the Image With Your Modified Kernel:* You can now build an 7828. *Build the Image With Your Modified Kernel:* You can now build an
783 image that includes your kernel patches. Execute the following 783 image that includes your kernel patches. Execute the following
784 command from your `Build 784 command from your
785 Directory <&YOCTO_DOCS_REF_URL;#build-directory>`__ in the terminal 785 :term:`Build Directory` in the terminal
786 set up to run BitBake: $ cd ~/poky/build $ bitbake core-image-minimal 786 set up to run BitBake: $ cd ~/poky/build $ bitbake core-image-minimal
787 787
788Using Traditional Kernel Development to Patch the Kernel 788Using Traditional Kernel Development to Patch the Kernel
@@ -1134,8 +1134,7 @@ build system applies fragments on top of and after applying the existing
1134defconfig file configurations. 1134defconfig file configurations.
1135 1135
1136Syntactically, the configuration statement is identical to what would 1136Syntactically, the configuration statement is identical to what would
1137appear in the ``.config`` file, which is in the `Build 1137appear in the ``.config`` file, which is in the :term:`Build Directory`.
1138Directory <&YOCTO_DOCS_REF_URL;#build-directory>`__.
1139 1138
1140.. note:: 1139.. note::
1141 1140