summaryrefslogtreecommitdiffstats
path: root/documentation/bsp-guide/bsp.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/bsp-guide/bsp.rst')
-rw-r--r--documentation/bsp-guide/bsp.rst30
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.
74The BSP layer's base directory (``meta-bsp_root_name``) is the root 74The BSP layer's base directory (``meta-bsp_root_name``) is the root
75directory of that Layer. This directory is what you add to the 75directory 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
78Directory <&YOCTO_DOCS_REF_URL;#build-directory>`__, which is 78:term:`Build Directory`, which is
79established after you run the OpenEmbedded build environment setup 79established after you run the OpenEmbedded build environment setup
80script (i.e. ````` <&YOCTO_DOCS_REF_URL;#structure-core-script>`__). 80script (i.e. ````` <&YOCTO_DOCS_REF_URL;#structure-core-script>`__).
81Adding the root directory allows the `OpenEmbedded build 81Adding the root directory allows the :term:`OpenEmbedded Build System`
82system <&YOCTO_DOCS_REF_URL;#build-system-term>`__ to recognize the BSP 82to recognize the BSP
83layer and from it build an image. Here is an example: BBLAYERS ?= " \\ 83layer 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
1462. *Clone the ``poky`` Repository:* You need to have a local copy of the 1462. *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
629one or the other. 627one or the other.
630 628
631For your BSP, you typically want to use an existing Yocto Project kernel 629For your BSP, you typically want to use an existing Yocto Project kernel
632recipe found in the `Source 630recipe found in the :term:`Source Directory`
633Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__ at 631at
634``meta/recipes-kernel/linux``. You can append machine-specific changes 632``meta/recipes-kernel/linux``. You can append machine-specific changes
635to the kernel recipe by using a similarly named append file, which is 633to the kernel recipe by using a similarly named append file, which is
636located in the BSP Layer for your target device (e.g. the 634located 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