diff options
Diffstat (limited to 'documentation/kernel-dev/maint-appx.rst')
| -rw-r--r-- | documentation/kernel-dev/maint-appx.rst | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/documentation/kernel-dev/maint-appx.rst b/documentation/kernel-dev/maint-appx.rst index 44c43893e2..f84ab6e239 100644 --- a/documentation/kernel-dev/maint-appx.rst +++ b/documentation/kernel-dev/maint-appx.rst | |||
| @@ -28,8 +28,7 @@ in the Yocto Project Linux kernel in any clone of the Yocto Project | |||
| 28 | Linux kernel source repository and ``yocto-kernel-cache`` Git trees. For | 28 | Linux kernel source repository and ``yocto-kernel-cache`` Git trees. For |
| 29 | example, the following commands clone the Yocto Project baseline Linux | 29 | example, the following commands clone the Yocto Project baseline Linux |
| 30 | kernel that branches off ``linux.org`` version 4.12 and the | 30 | kernel that branches off ``linux.org`` version 4.12 and the |
| 31 | ``yocto-kernel-cache``, which contains stores of kernel Metadata: | 31 | ``yocto-kernel-cache``, which contains stores of kernel Metadata:: |
| 32 | :: | ||
| 33 | 32 | ||
| 34 | $ git clone git://git.yoctoproject.org/linux-yocto-4.12 | 33 | $ git clone git://git.yoctoproject.org/linux-yocto-4.12 |
| 35 | $ git clone git://git.yoctoproject.org/linux-kernel-cache | 34 | $ git clone git://git.yoctoproject.org/linux-kernel-cache |
| @@ -42,16 +41,14 @@ section. | |||
| 42 | 41 | ||
| 43 | Once you have cloned the kernel Git repository and the cache of Metadata | 42 | Once you have cloned the kernel Git repository and the cache of Metadata |
| 44 | on your local machine, you can discover the branches that are available | 43 | on your local machine, you can discover the branches that are available |
| 45 | in the repository using the following Git command: | 44 | in the repository using the following Git command:: |
| 46 | :: | ||
| 47 | 45 | ||
| 48 | $ git branch -a | 46 | $ git branch -a |
| 49 | 47 | ||
| 50 | Checking out a branch allows you to work with a particular Yocto Linux | 48 | Checking out a branch allows you to work with a particular Yocto Linux |
| 51 | kernel. For example, the following commands check out the | 49 | kernel. For example, the following commands check out the |
| 52 | "standard/beagleboard" branch of the Yocto Linux kernel repository and | 50 | "standard/beagleboard" branch of the Yocto Linux kernel repository and |
| 53 | the "yocto-4.12" branch of the ``yocto-kernel-cache`` repository: | 51 | the "yocto-4.12" branch of the ``yocto-kernel-cache`` repository:: |
| 54 | :: | ||
| 55 | 52 | ||
| 56 | $ cd ~/linux-yocto-4.12 | 53 | $ cd ~/linux-yocto-4.12 |
| 57 | $ git checkout -b my-kernel-4.12 remotes/origin/standard/beagleboard | 54 | $ git checkout -b my-kernel-4.12 remotes/origin/standard/beagleboard |
| @@ -111,8 +108,7 @@ patch, or BSP: | |||
| 111 | 108 | ||
| 112 | For a typical build, the target of the search is a feature | 109 | For a typical build, the target of the search is a feature |
| 113 | description in an ``.scc`` file whose name follows this format (e.g. | 110 | description in an ``.scc`` file whose name follows this format (e.g. |
| 114 | ``beaglebone-standard.scc`` and ``beaglebone-preempt-rt.scc``): | 111 | ``beaglebone-standard.scc`` and ``beaglebone-preempt-rt.scc``):: |
| 115 | :: | ||
| 116 | 112 | ||
| 117 | bsp_root_name-kernel_type.scc | 113 | bsp_root_name-kernel_type.scc |
| 118 | 114 | ||
| @@ -222,8 +218,7 @@ build process generates a build tree that is separate from your kernel's | |||
| 222 | local Git source repository tree. This build tree has a name that uses | 218 | local Git source repository tree. This build tree has a name that uses |
| 223 | the following form, where ``${MACHINE}`` is the metadata name of the | 219 | the following form, where ``${MACHINE}`` is the metadata name of the |
| 224 | machine (BSP) and "kernel_type" is one of the Yocto Project supported | 220 | machine (BSP) and "kernel_type" is one of the Yocto Project supported |
| 225 | kernel types (e.g. "standard"): | 221 | kernel types (e.g. "standard"):: |
| 226 | :: | ||
| 227 | 222 | ||
| 228 | linux-${MACHINE}-kernel_type-build | 223 | linux-${MACHINE}-kernel_type-build |
| 229 | 224 | ||
