diff options
| author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2020-07-27 17:38:09 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-17 10:09:33 +0100 |
| commit | 424567d629b08785a6594d16427ee0fa8c31f384 (patch) | |
| tree | 4985979745b1c5601f7a82c662042fb745bfd7db /documentation/bsp-guide | |
| parent | 4bf6fc5281d1976ad7113c91a93995406cfab429 (diff) | |
| download | poky-424567d629b08785a6594d16427ee0fa8c31f384.tar.gz | |
sphinx: manual updates for some links
Some links were not found by the regexp, especially because of they
are spanning across multiple lines. This patch is a manual fixup for
these patterns.
(From yocto-docs rev: 7a5cf8b372903d959d4a1f0882e6198f31f3cba5)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/bsp-guide')
| -rw-r--r-- | documentation/bsp-guide/bsp.rst | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/documentation/bsp-guide/bsp.rst b/documentation/bsp-guide/bsp.rst index e06b1259f0..361951b592 100644 --- a/documentation/bsp-guide/bsp.rst +++ b/documentation/bsp-guide/bsp.rst | |||
| @@ -74,12 +74,12 @@ section in the Yocto Project Development Tasks Manual. | |||
| 74 | The BSP layer's base directory (``meta-bsp_root_name``) is the root | 74 | The BSP layer's base directory (``meta-bsp_root_name``) is the root |
| 75 | directory of that Layer. This directory is what you add to the | 75 | directory of that Layer. This directory is what you add to the |
| 76 | :term:`BBLAYERS` variable in the | 76 | :term:`BBLAYERS` variable in the |
| 77 | ``conf/bblayers.conf`` file found in your `Build | 77 | ``conf/bblayers.conf`` file found in your |
| 78 | Directory <&YOCTO_DOCS_REF_URL;#build-directory>`__, which is | 78 | :term:`Build Directory`, which is |
| 79 | established after you run the OpenEmbedded build environment setup | 79 | established after you run the OpenEmbedded build environment setup |
| 80 | script (i.e. ````` <&YOCTO_DOCS_REF_URL;#structure-core-script>`__). | 80 | script (i.e. ````` <&YOCTO_DOCS_REF_URL;#structure-core-script>`__). |
| 81 | Adding the root directory allows the `OpenEmbedded build | 81 | Adding the root directory allows the :term:`OpenEmbedded Build System` |
| 82 | system <&YOCTO_DOCS_REF_URL;#build-system-term>`__ to recognize the BSP | 82 | to recognize the BSP |
| 83 | layer and from it build an image. Here is an example: BBLAYERS ?= " \\ | 83 | layer and from it build an image. Here is an example: BBLAYERS ?= " \\ |
| 84 | /usr/local/src/yocto/meta \\ /usr/local/src/yocto/meta-poky \\ | 84 | /usr/local/src/yocto/meta \\ /usr/local/src/yocto/meta-poky \\ |
| 85 | /usr/local/src/yocto/meta-yocto-bsp \\ /usr/local/src/yocto/meta-mylayer | 85 | /usr/local/src/yocto/meta-yocto-bsp \\ /usr/local/src/yocto/meta-mylayer |
| @@ -144,8 +144,7 @@ section. | |||
| 144 | machine that uses CROPS. | 144 | machine that uses CROPS. |
| 145 | 145 | ||
| 146 | 2. *Clone the ``poky`` Repository:* You need to have a local copy of the | 146 | 2. *Clone the ``poky`` Repository:* You need to have a local copy of the |
| 147 | Yocto Project `Source | 147 | Yocto Project :term:`Source Directory` (i.e. a local |
| 148 | Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__ (i.e. a local | ||
| 149 | ``poky`` repository). See the "`Cloning the ``poky`` | 148 | ``poky`` repository). See the "`Cloning the ``poky`` |
| 150 | Repository <&YOCTO_DOCS_DEV_URL;#cloning-the-poky-repository>`__" and | 149 | Repository <&YOCTO_DOCS_DEV_URL;#cloning-the-poky-repository>`__" and |
| 151 | possibly the "`Checking Out by Branch in | 150 | possibly the "`Checking Out by Branch in |
| @@ -169,8 +168,7 @@ section. | |||
| 169 | file. | 168 | file. |
| 170 | 169 | ||
| 171 | 1. *Navigate to Your Source Directory:* Typically, you set up the | 170 | 1. *Navigate to Your Source Directory:* Typically, you set up the |
| 172 | ``meta-intel`` Git repository inside the `Source | 171 | ``meta-intel`` Git repository inside the :term:`Source Directory` (e.g. |
| 173 | Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__ (e.g. | ||
| 174 | ``poky``). $ cd /home/you/poky | 172 | ``poky``). $ cd /home/you/poky |
| 175 | 173 | ||
| 176 | 2. *Clone the Layer:* $ git clone | 174 | 2. *Clone the Layer:* $ git clone |
| @@ -218,10 +216,10 @@ section. | |||
| 218 | ````` <&YOCTO_DOCS_REF_URL;#structure-core-script>`__ environment | 216 | ````` <&YOCTO_DOCS_REF_URL;#structure-core-script>`__ environment |
| 219 | setup script to define the OpenEmbedded build environment on your | 217 | setup script to define the OpenEmbedded build environment on your |
| 220 | build host. $ source OE_INIT_FILE Among other things, the script | 218 | build host. $ source OE_INIT_FILE Among other things, the script |
| 221 | creates the `Build | 219 | creates the |
| 222 | Directory <&YOCTO_DOCS_REF_URL;#build-directory>`__, which is | 220 | :term:`Build Directory`, which is |
| 223 | ``build`` in this case and is located in the `Source | 221 | ``build`` in this case and is located in the :term:`Source Directory`. |
| 224 | Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__. After the | 222 | After the |
| 225 | script runs, your current working directory is set to the ``build`` | 223 | script runs, your current working directory is set to the ``build`` |
| 226 | directory. | 224 | directory. |
| 227 | 225 | ||
| @@ -629,8 +627,8 @@ types of files although, in practice, it is likely that you would have | |||
| 629 | one or the other. | 627 | one or the other. |
| 630 | 628 | ||
| 631 | For your BSP, you typically want to use an existing Yocto Project kernel | 629 | For your BSP, you typically want to use an existing Yocto Project kernel |
| 632 | recipe found in the `Source | 630 | recipe found in the :term:`Source Directory` |
| 633 | Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__ at | 631 | at |
| 634 | ``meta/recipes-kernel/linux``. You can append machine-specific changes | 632 | ``meta/recipes-kernel/linux``. You can append machine-specific changes |
| 635 | to the kernel recipe by using a similarly named append file, which is | 633 | to the kernel recipe by using a similarly named append file, which is |
| 636 | located in the BSP Layer for your target device (e.g. the | 634 | located in the BSP Layer for your target device (e.g. the |
| @@ -848,8 +846,8 @@ Yocto Project: | |||
| 848 | 846 | ||
| 849 | - *File System Layout:* When possible, use the same directory names in | 847 | - *File System Layout:* When possible, use the same directory names in |
| 850 | your BSP layer as listed in the ``recipes.txt`` file, which is found | 848 | your BSP layer as listed in the ``recipes.txt`` file, which is found |
| 851 | in ``poky/meta`` directory of the `Source | 849 | in ``poky/meta`` directory of the :term:`Source Directory` |
| 852 | Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__ or in the | 850 | or in the |
| 853 | OpenEmbedded-Core Layer (``openembedded-core``) at | 851 | OpenEmbedded-Core Layer (``openembedded-core``) at |
| 854 | ` <http://git.openembedded.org/openembedded-core/tree/meta>`__. | 852 | ` <http://git.openembedded.org/openembedded-core/tree/meta>`__. |
| 855 | 853 | ||
