blob: ec447d35d2dfa2a5296a212ce85758c8ae989f62 [file] [log] [blame]
Andrew Geisslerf0343792020-11-18 10:42:21 -06001.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Andrew Geisslerc9f78652020-09-18 14:11:35 -05002
3*******************
4Yocto Project Terms
5*******************
6
7Following is a list of terms and definitions users new to the Yocto Project
8development environment might find helpful. While some of these terms are
9universal, the list includes them just in case:
10
11.. glossary::
12
Andrew Geissler4c19ea12020-10-27 13:52:24 -050013 :term:`Append Files`
Andrew Geisslerc9f78652020-09-18 14:11:35 -050014 Files that append build information to a recipe file. Append files are
15 known as BitBake append files and ``.bbappend`` files. The OpenEmbedded
16 build system expects every append file to have a corresponding recipe
17 (``.bb``) file. Furthermore, the append file and corresponding recipe file
18 must use the same root filename. The filenames can differ only in the
19 file type suffix used (e.g. ``formfactor_0.0.bb`` and
20 ``formfactor_0.0.bbappend``).
21
22 Information in append files extends or overrides the information in the
23 similarly-named recipe file. For an example of an append file in use, see
Andrew Geissler517393d2023-01-13 08:55:19 -060024 the ":ref:`dev-manual/layers:appending other layers metadata with your layer`"
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050025 section in the Yocto Project Development Tasks Manual.
Andrew Geisslerc9f78652020-09-18 14:11:35 -050026
27 When you name an append file, you can use the "``%``" wildcard character
28 to allow for matching recipe names. For example, suppose you have an
Andrew Geisslerc926e172021-05-07 16:11:35 -050029 append file named as follows::
Andrew Geissler95ac1b82021-03-31 14:34:31 -050030
Andrew Geisslerc9f78652020-09-18 14:11:35 -050031 busybox_1.21.%.bbappend
32
33 That append file
Andrew Geisslereff27472021-10-29 15:35:00 -050034 would match any ``busybox_1.21.x.bb`` version of the recipe. So,
Andrew Geisslerc9f78652020-09-18 14:11:35 -050035 the append file would match any of the following recipe names:
36
37 .. code-block:: shell
38
39 busybox_1.21.1.bb
40 busybox_1.21.2.bb
41 busybox_1.21.3.bb
42 busybox_1.21.10.bb
43 busybox_1.21.25.bb
44
45 .. note::
46
Andrew Geissler4c19ea12020-10-27 13:52:24 -050047 The use of the "%" character is limited in that it only works
Andrew Geisslerc9f78652020-09-18 14:11:35 -050048 directly in front of the .bbappend portion of the append file's
49 name. You cannot use the wildcard character in any other location of
50 the name.
51
Andrew Geissler4c19ea12020-10-27 13:52:24 -050052 :term:`BitBake`
Andrew Geisslerc9f78652020-09-18 14:11:35 -050053 The task executor and scheduler used by the OpenEmbedded build system to
54 build images. For more information on BitBake, see the :doc:`BitBake User
55 Manual <bitbake:index>`.
56
Andrew Geissler4c19ea12020-10-27 13:52:24 -050057 :term:`Board Support Package (BSP)`
Andrew Geisslerc9f78652020-09-18 14:11:35 -050058 A group of drivers, definitions, and other components that provide support
59 for a specific hardware configuration. For more information on BSPs, see
Andrew Geissler09209ee2020-12-13 08:44:15 -060060 the :doc:`/bsp-guide/index`.
Andrew Geisslerc9f78652020-09-18 14:11:35 -050061
Andrew Geissler4c19ea12020-10-27 13:52:24 -050062 :term:`Build Directory`
Andrew Geisslerc9f78652020-09-18 14:11:35 -050063 This term refers to the area used by the OpenEmbedded build system for
64 builds. The area is created when you ``source`` the setup environment
65 script that is found in the Source Directory
Andrew Geissler09209ee2020-12-13 08:44:15 -060066 (i.e. :ref:`ref-manual/structure:\`\`oe-init-build-env\`\``). The
Patrick Williams2390b1b2022-11-03 13:47:49 -050067 :term:`TOPDIR` variable points to the :term:`Build Directory`.
Andrew Geisslerc9f78652020-09-18 14:11:35 -050068
Patrick Williams2390b1b2022-11-03 13:47:49 -050069 You have a lot of flexibility when creating the :term:`Build Directory`.
Andrew Geisslerc9f78652020-09-18 14:11:35 -050070 Following are some examples that show how to create the directory. The
71 examples assume your :term:`Source Directory` is named ``poky``:
72
Patrick Williams2390b1b2022-11-03 13:47:49 -050073 - Create the :term:`Build Directory` inside your Source Directory and let
74 the name of the :term:`Build Directory` default to ``build``:
Andrew Geisslerc9f78652020-09-18 14:11:35 -050075
76 .. code-block:: shell
77
Andrew Geissler95ac1b82021-03-31 14:34:31 -050078 $ cd poky
Andrew Geisslerc9f78652020-09-18 14:11:35 -050079 $ source oe-init-build-env
80
Patrick Williams2390b1b2022-11-03 13:47:49 -050081 - Create the :term:`Build Directory` inside your home directory and
Andrew Geisslerc9f78652020-09-18 14:11:35 -050082 specifically name it ``test-builds``:
83
84 .. code-block:: shell
85
Andrew Geisslerc9f78652020-09-18 14:11:35 -050086 $ source poky/oe-init-build-env test-builds
87
Patrick Williams2390b1b2022-11-03 13:47:49 -050088 - Provide a directory path and specifically name the
89 :term:`Build Directory`. Any intermediate folders in the pathname
90 must exist. This next example creates a :term:`Build Directory`
91 named ``YP-&DISTRO;`` within the existing directory ``mybuilds``:
Andrew Geisslerc9f78652020-09-18 14:11:35 -050092
93 .. code-block:: shell
94
Andrew Geissler9aee5002022-03-30 16:27:02 +000095 $ source poky/oe-init-build-env mybuilds/YP-&DISTRO;
Andrew Geisslerc9f78652020-09-18 14:11:35 -050096
97 .. note::
98
Patrick Williams2390b1b2022-11-03 13:47:49 -050099 By default, the :term:`Build Directory` contains :term:`TMPDIR`, which is a
Andrew Geissler09036742021-06-25 14:25:14 -0500100 temporary directory the build system uses for its work. :term:`TMPDIR` cannot
Patrick Williams2390b1b2022-11-03 13:47:49 -0500101 be under NFS. Thus, by default, the :term:`Build Directory` cannot be under
102 NFS. However, if you need the :term:`Build Directory` to be under NFS, you can
Andrew Geissler09036742021-06-25 14:25:14 -0500103 set this up by setting :term:`TMPDIR` in your ``local.conf`` file to use a local
104 drive. Doing so effectively separates :term:`TMPDIR` from :term:`TOPDIR`, which is the
Patrick Williams2390b1b2022-11-03 13:47:49 -0500105 :term:`Build Directory`.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500106
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500107 :term:`Build Host`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500108 The system used to build images in a Yocto Project Development
109 environment. The build system is sometimes referred to as the development
110 host.
111
Andrew Geissler517393d2023-01-13 08:55:19 -0600112 :term:`buildtools`
113 Build tools in binary form, providing required versions of development
114 tools (such as Git, GCC, Python and make), to run the OpenEmbedded build
115 system on a development host without such minimum versions.
116
117 See the ":ref:`system-requirements-buildtools`" paragraph in the
118 Reference Manual for details about downloading or building an archive
119 of such tools.
120
121 :term:`buildtools-extended`
122 A set of :term:`buildtools` binaries extended with additional development
123 tools, such as a required version of the GCC compiler to run the
124 OpenEmbedded build system.
125
126 :term:`buildtools-make`
127 A variant of :term:`buildtools`, just providing the required
128 version of ``make`` to run the OpenEmbedded build system.
129
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500130 :term:`Classes`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500131 Files that provide for logic encapsulation and inheritance so that
132 commonly used patterns can be defined once and then easily used in
133 multiple recipes. For reference information on the Yocto Project classes,
Andrew Geissler09209ee2020-12-13 08:44:15 -0600134 see the ":ref:`ref-manual/classes:Classes`" chapter. Class files end with the
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500135 ``.bbclass`` filename extension.
136
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500137 :term:`Configuration File`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500138 Files that hold global definitions of variables, user-defined variables,
139 and hardware configuration information. These files tell the OpenEmbedded
140 build system what to build and what to put into the image to support a
141 particular platform.
142
143 Configuration files end with a ``.conf`` filename extension. The
144 :file:`conf/local.conf` configuration file in the :term:`Build Directory`
145 contains user-defined variables that affect every build. The
146 :file:`meta-poky/conf/distro/poky.conf` configuration file defines Yocto
147 "distro" configuration variables used only when building with this
148 policy. Machine configuration files, which are located throughout the
149 :term:`Source Directory`, define variables for specific hardware and are
150 only used when building for that target (e.g. the
151 :file:`machine/beaglebone.conf` configuration file defines variables for
152 the Texas Instruments ARM Cortex-A8 development board).
153
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500154 :term:`Container Layer`
Andrew Geissler595f6302022-01-24 19:11:47 +0000155 A flexible definition that typically refers to a single Git checkout
156 which contains multiple (and typically related) sub-layers which can
157 be included independently in your project's ``bblayers.conf`` file.
158
Patrick Williams2390b1b2022-11-03 13:47:49 -0500159 In some cases, such as with OpenEmbedded's :oe_git:`meta-openembedded </meta-openembedded>`
Andrew Geissler595f6302022-01-24 19:11:47 +0000160 layer, the top level ``meta-openembedded/`` directory is not itself an actual layer,
161 so you would never explicitly include it in a ``bblayers.conf`` file;
162 rather, you would include any number of its layer subdirectories, such as
Patrick Williams2390b1b2022-11-03 13:47:49 -0500163 :oe_git:`meta-oe </meta-openembedded/tree/meta-oe>`, :oe_git:`meta-python
164 </meta-openembedded/tree/meta-python>` and so on.
Andrew Geissler595f6302022-01-24 19:11:47 +0000165
166 On the other hand, some container layers (such as
Andrew Geissler7e0e3c02022-02-25 20:34:39 +0000167 :yocto_git:`meta-security </meta-security>`)
Andrew Geissler595f6302022-01-24 19:11:47 +0000168 have a top-level directory that is itself an actual layer, as well as
169 a variety of sub-layers, both of which could be included in your
170 ``bblayers.conf`` file.
171
172 In either case, the phrase "container layer" is simply used to describe
173 a directory structure which contains multiple valid OpenEmbedded layers.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500174
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500175 :term:`Cross-Development Toolchain`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500176 In general, a cross-development toolchain is a collection of software
177 development tools and utilities that run on one architecture and allow you
178 to develop software for a different, or targeted, architecture. These
179 toolchains contain cross-compilers, linkers, and debuggers that are
180 specific to the target architecture.
181
182 The Yocto Project supports two different cross-development toolchains:
183
184 - A toolchain only used by and within BitBake when building an image for a
185 target architecture.
186
187 - A relocatable toolchain used outside of BitBake by developers when
188 developing applications that will run on a targeted device.
189
190 Creation of these toolchains is simple and automated. For information on
191 toolchain concepts as they apply to the Yocto Project, see the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600192 ":ref:`overview-manual/concepts:Cross-Development
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500193 Toolchain Generation`" section in the Yocto Project Overview and Concepts
194 Manual. You can also find more information on using the relocatable
Andrew Geissler09209ee2020-12-13 08:44:15 -0600195 toolchain in the :doc:`/sdk-manual/index` manual.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500196
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500197 :term:`Extensible Software Development Kit (eSDK)`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500198 A custom SDK for application developers. This eSDK allows developers to
199 incorporate their library and programming changes back into the image to
200 make their code available to other application developers.
201
Andrew Geissler09209ee2020-12-13 08:44:15 -0600202 For information on the eSDK, see the :doc:`/sdk-manual/index` manual.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500203
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500204 :term:`Image`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500205 An image is an artifact of the BitBake build process given a collection of
206 recipes and related Metadata. Images are the binary output that run on
207 specific hardware or QEMU and are used for specific use-cases. For a list
208 of the supported image types that the Yocto Project provides, see the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600209 ":ref:`ref-manual/images:Images`" chapter.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500210
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500211 :term:`Layer`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500212 A collection of related recipes. Layers allow you to consolidate related
213 metadata to customize your build. Layers also isolate information used
214 when building for multiple architectures. Layers are hierarchical in
215 their ability to override previous specifications. You can include any
216 number of available layers from the Yocto Project and customize the build
217 by adding your layers after them. You can search the Layer Index for
218 layers used within Yocto Project.
219
220 For introductory information on layers, see the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600221 ":ref:`overview-manual/yp-intro:The Yocto Project Layer
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500222 Model`" section in the Yocto Project Overview and Concepts Manual. For
223 more detailed information on layers, see the
Andrew Geissler517393d2023-01-13 08:55:19 -0600224 ":ref:`dev-manual/layers:Understanding and Creating
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500225 Layers`" section in the Yocto Project Development Tasks Manual. For a
226 discussion specifically on BSP Layers, see the ":ref:`bsp-guide/bsp:BSP
227 Layers`" section in the Yocto Project Board Support Packages (BSP)
228 Developer's Guide.
229
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500230 :term:`Metadata`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500231 A key element of the Yocto Project is the Metadata that
232 is used to construct a Linux distribution and is contained in the
233 files that the :term:`OpenEmbedded Build System`
234 parses when building an image. In general, Metadata includes recipes,
235 configuration files, and other information that refers to the build
236 instructions themselves, as well as the data used to control what
237 things get built and the effects of the build. Metadata also includes
238 commands and data used to indicate what versions of software are
239 used, from where they are obtained, and changes or additions to the
240 software itself (patches or auxiliary files) that are used to fix
241 bugs or customize the software for use in a particular situation.
242 OpenEmbedded-Core is an important set of validated metadata.
243
244 In the context of the kernel ("kernel Metadata"), the term refers to
245 the kernel config fragments and features contained in the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600246 :yocto_git:`yocto-kernel-cache </yocto-kernel-cache>`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500247 Git repository.
248
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500249 :term:`OpenEmbedded-Core (OE-Core)`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500250 OE-Core is metadata comprised of
251 foundational recipes, classes, and associated files that are meant to
252 be common among many different OpenEmbedded-derived systems,
253 including the Yocto Project. OE-Core is a curated subset of an
254 original repository developed by the OpenEmbedded community that has
255 been pared down into a smaller, core set of continuously validated
256 recipes. The result is a tightly controlled and an quality-assured
257 core set of recipes.
258
259 You can see the Metadata in the ``meta`` directory of the Yocto
Andrew Geissler09209ee2020-12-13 08:44:15 -0600260 Project :yocto_git:`Source Repositories </poky>`.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500261
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500262 :term:`OpenEmbedded Build System`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500263 The build system specific to the Yocto
264 Project. The OpenEmbedded build system is based on another project
265 known as "Poky", which uses :term:`BitBake` as the task
266 executor. Throughout the Yocto Project documentation set, the
267 OpenEmbedded build system is sometimes referred to simply as "the
268 build system". If other build systems, such as a host or target build
269 system are referenced, the documentation clearly states the
270 difference.
271
272 .. note::
273
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500274 For some historical information about Poky, see the :term:`Poky` term.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500275
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500276 :term:`Package`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500277 In the context of the Yocto Project, this term refers to a
278 recipe's packaged output produced by BitBake (i.e. a "baked recipe").
279 A package is generally the compiled binaries produced from the
280 recipe's sources. You "bake" something by running it through BitBake.
281
282 It is worth noting that the term "package" can, in general, have
283 subtle meanings. For example, the packages referred to in the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600284 ":ref:`ref-manual/system-requirements:required packages for the build host`"
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500285 section are compiled binaries that, when installed, add functionality to
286 your Linux distribution.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500287
288 Another point worth noting is that historically within the Yocto
Andrew Geissler615f2f12022-07-15 14:00:58 -0500289 Project, recipes were referred to as packages --- thus, the existence
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500290 of several BitBake variables that are seemingly mis-named, (e.g.
291 :term:`PR`, :term:`PV`, and
292 :term:`PE`).
293
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500294 :term:`Package Groups`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500295 Arbitrary groups of software Recipes. You use
296 package groups to hold recipes that, when built, usually accomplish a
297 single task. For example, a package group could contain the recipes
298 for a company's proprietary or value-add software. Or, the package
299 group could contain the recipes that enable graphics. A package group
300 is really just another recipe. Because package group files are
301 recipes, they end with the ``.bb`` filename extension.
302
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500303 :term:`Poky`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500304 Poky, which is pronounced *Pock*-ee, is a reference embedded
305 distribution and a reference test configuration. Poky provides the
306 following:
307
308 - A base-level functional distro used to illustrate how to customize
309 a distribution.
310
311 - A means by which to test the Yocto Project components (i.e. Poky
312 is used to validate the Yocto Project).
313
314 - A vehicle through which you can download the Yocto Project.
315
316 Poky is not a product level distro. Rather, it is a good starting
317 point for customization.
318
319 .. note::
320
321 Poky began as an open-source project initially developed by
322 OpenedHand. OpenedHand developed Poky from the existing
323 OpenEmbedded build system to create a commercially supportable
324 build system for embedded Linux. After Intel Corporation acquired
325 OpenedHand, the poky project became the basis for the Yocto
326 Project's build system.
327
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500328 :term:`Recipe`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500329 A set of instructions for building packages. A recipe
330 describes where you get source code, which patches to apply, how to
331 configure the source, how to compile it and so on. Recipes also
332 describe dependencies for libraries or for other recipes. Recipes
333 represent the logical unit of execution, the software to build, the
334 images to build, and use the ``.bb`` file extension.
335
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500336 :term:`Reference Kit`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500337 A working example of a system, which includes a
338 :term:`BSP<Board Support Package (BSP)>` as well as a
339 :term:`build host<Build Host>` and other components, that can
340 work on specific hardware.
341
Patrick Williams7784c422022-11-17 07:29:11 -0600342 :term:`SBOM`
343 This term means *Software Bill of Materials*. When you distribute
344 software, it offers a description of all the components you used,
345 their corresponding licenses, their dependencies, the changes that were
346 applied and the known vulnerabilities that were fixed.
347
348 This can be used by the recipients of the software to assess
349 their exposure to license compliance and security vulnerability issues.
350
351 See the :wikipedia:`Software Supply Chain <Software_supply_chain>`
352 article on Wikipedia for more details.
353
354 The OpenEmbedded Build System can generate such documentation for your
355 project, in :term:`SPDX` format, based on all the metadata it used to
Andrew Geissler517393d2023-01-13 08:55:19 -0600356 build the software images. See the ":ref:`dev-manual/sbom:creating
Patrick Williams7784c422022-11-17 07:29:11 -0600357 a software bill of materials`" section of the Development Tasks manual.
358
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500359 :term:`Source Directory`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500360 This term refers to the directory structure
361 created as a result of creating a local copy of the ``poky`` Git
362 repository ``git://git.yoctoproject.org/poky`` or expanding a
363 released ``poky`` tarball.
364
365 .. note::
366
367 Creating a local copy of the
368 poky
369 Git repository is the recommended method for setting up your
370 Source Directory.
371
372 Sometimes you might hear the term "poky directory" used to refer to
373 this directory structure.
374
375 .. note::
376
377 The OpenEmbedded build system does not support file or directory
378 names that contain spaces. Be sure that the Source Directory you
379 use does not contain these types of names.
380
381 The Source Directory contains BitBake, Documentation, Metadata and
382 other files that all support the Yocto Project. Consequently, you
383 must have the Source Directory in place on your development system in
384 order to do any development using the Yocto Project.
385
386 When you create a local copy of the Git repository, you can name the
387 repository anything you like. Throughout much of the documentation,
388 "poky" is used as the name of the top-level folder of the local copy
389 of the poky Git repository. So, for example, cloning the ``poky`` Git
390 repository results in a local Git repository whose top-level folder
391 is also named "poky".
392
Andrew Geissler9aee5002022-03-30 16:27:02 +0000393 While it is not recommended that you use tarball extraction to set up
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500394 the Source Directory, if you do, the top-level directory name of the
395 Source Directory is derived from the Yocto Project release tarball.
Andrew Geissler9aee5002022-03-30 16:27:02 +0000396 For example, downloading and unpacking poky tarballs from
397 :yocto_dl:`/releases/yocto/&DISTRO_REL_TAG;/`
398 results in a Source Directory whose root folder is named poky.
399
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500400
401 It is important to understand the differences between the Source
402 Directory created by unpacking a released tarball as compared to
403 cloning ``git://git.yoctoproject.org/poky``. When you unpack a
404 tarball, you have an exact copy of the files based on the time of
Andrew Geissler615f2f12022-07-15 14:00:58 -0500405 release --- a fixed release point. Any changes you make to your local
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500406 files in the Source Directory are on top of the release and will
407 remain local only. On the other hand, when you clone the ``poky`` Git
408 repository, you have an active development repository with access to
409 the upstream repository's branches and tags. In this case, any local
410 changes you make to the local Source Directory can be later applied
411 to active development branches of the upstream ``poky`` Git
412 repository.
413
414 For more information on concepts related to Git repositories,
415 branches, and tags, see the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600416 ":ref:`overview-manual/development-environment:repositories, tags, and branches`"
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500417 section in the Yocto Project Overview and Concepts Manual.
418
Patrick Williams7784c422022-11-17 07:29:11 -0600419 :term:`SPDX`
420 This term means *Software Package Data Exchange*, and is used as a open
421 standard for providing a *Software Bill of Materials* (:term:`SBOM`).
422 This standard is developed through a `Linux Foundation project
423 <https://spdx.dev/>`__ and is used by the OpenEmbedded Build System to
424 provide an :term:`SBOM` associated to each a software image.
425
426 For details, see Wikipedia's :wikipedia:`SPDX page <Software_Package_Data_Exchange>`
Andrew Geissler517393d2023-01-13 08:55:19 -0600427 and the ":ref:`dev-manual/sbom:creating a software bill of materials`"
Patrick Williams7784c422022-11-17 07:29:11 -0600428 section of the Development Tasks manual.
429
Andrew Geissler615f2f12022-07-15 14:00:58 -0500430 :term:`Sysroot`
431 When cross-compiling, the target file system may be differently laid
432 out and contain different things compared to the host system. The concept
433 of a *sysroot* is directory which looks like the target filesystem and
434 can be used to cross-compile against.
435
436 In the context of cross-compiling toolchains, a *sysroot*
437 typically contains C library and kernel headers, plus the
438 compiled binaries for the C library. A *multilib toolchain*
439 can contain multiple variants of the C library binaries,
440 each compiled for a target instruction set (such as ``armv5``,
441 ``armv7`` and ``armv8``), and possibly optimized for a specific CPU core.
442
443 In the more specific context of the OpenEmbedded build System and
444 of the Yocto Project, each recipe has two sysroots:
445
446 - A *target sysroot* contains all the **target** libraries and headers
447 needed to build the recipe.
448
449 - A *native sysroot* contains all the **host** files and executables
450 needed to build the recipe.
451
452 See the :term:`SYSROOT_* <SYSROOT_DESTDIR>` variables controlling
453 how sysroots are created and stored.
454
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500455 :term:`Task`
Andrew Geissler5199d832021-09-24 16:47:35 -0500456 A per-recipe unit of execution for BitBake (e.g.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500457 :ref:`ref-tasks-compile`,
458 :ref:`ref-tasks-fetch`,
459 :ref:`ref-tasks-patch`, and so forth).
Andrew Geissler5199d832021-09-24 16:47:35 -0500460 One of the major benefits of the build system is that, since each
461 recipe will typically spawn the execution of numerous tasks,
462 it is entirely possible that many tasks can execute in parallel,
463 either tasks from separate recipes or independent tasks within
464 the same recipe, potentially up to the parallelism of your
465 build system.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500466
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500467 :term:`Toaster`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500468 A web interface to the Yocto Project's :term:`OpenEmbedded Build System`.
469 The interface enables you to
470 configure and run your builds. Information about builds is collected
471 and stored in a database. For information on Toaster, see the
Andrew Geissler09209ee2020-12-13 08:44:15 -0600472 :doc:`/toaster-manual/index`.
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500473
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500474 :term:`Upstream`
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500475 A reference to source code or repositories that are not
Andrew Geissler595f6302022-01-24 19:11:47 +0000476 local to the development system but located in a remote area that is
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500477 controlled by the maintainer of the source code. For example, in
478 order for a developer to work on a particular piece of code, they
479 need to first get a copy of it from an "upstream" source.