summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-12-14 09:36:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-18 10:41:21 +0000
commiteb5042210c872d9d1a19d9ea251ad48ce589e905 (patch)
tree6a494267296ee932d66cf2cd24b63ff87943decc /documentation
parent4925cd416820ab2b48aaa780a053b6fa52d794e9 (diff)
downloadpoky-eb5042210c872d9d1a19d9ea251ad48ce589e905.tar.gz
manuals: create references to buildtools
On the side, also simplify a reference to the section describing them. (From yocto-docs rev: 0c13a7f9ccee4ddc9c6034d03f47625a09598cec) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/migration-guides/migration-1.5.rst3
-rw-r--r--documentation/migration-guides/migration-1.7.rst2
-rw-r--r--documentation/migration-guides/migration-2.1.rst4
-rw-r--r--documentation/migration-guides/migration-2.2.rst2
-rw-r--r--documentation/migration-guides/migration-3.2.rst2
-rw-r--r--documentation/migration-guides/migration-3.3.rst2
-rw-r--r--documentation/migration-guides/migration-3.4.rst2
-rw-r--r--documentation/migration-guides/migration-4.0.rst2
-rw-r--r--documentation/migration-guides/migration-4.1.rst4
-rw-r--r--documentation/migration-guides/release-notes-4.1.rst2
-rw-r--r--documentation/ref-manual/system-requirements.rst28
-rw-r--r--documentation/ref-manual/terms.rst18
-rw-r--r--documentation/test-manual/understand-autobuilder.rst2
13 files changed, 45 insertions, 28 deletions
diff --git a/documentation/migration-guides/migration-1.5.rst b/documentation/migration-guides/migration-1.5.rst
index e566785b73..14b1f4a0a5 100644
--- a/documentation/migration-guides/migration-1.5.rst
+++ b/documentation/migration-guides/migration-1.5.rst
@@ -28,8 +28,7 @@ provide packages for these, you can install and use the Buildtools
28tarball, which provides an SDK-like environment containing them. 28tarball, which provides an SDK-like environment containing them.
29 29
30For more information on this requirement, see the 30For more information on this requirement, see the
31":ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`" 31":ref:`system-requirements-buildtools`" section.
32section.
33 32
34.. _migration-1.5-atom-pc-bsp: 33.. _migration-1.5-atom-pc-bsp:
35 34
diff --git a/documentation/migration-guides/migration-1.7.rst b/documentation/migration-guides/migration-1.7.rst
index 4dc45ef090..94e9904b66 100644
--- a/documentation/migration-guides/migration-1.7.rst
+++ b/documentation/migration-guides/migration-1.7.rst
@@ -32,7 +32,7 @@ version required on the
32build host is now 1.7.8 because the ``--list`` option is now required by 32build host is now 1.7.8 because the ``--list`` option is now required by
33BitBake's Git fetcher. As always, if your host distribution does not 33BitBake's Git fetcher. As always, if your host distribution does not
34provide a version of Git that meets this requirement, you can use the 34provide a version of Git that meets this requirement, you can use the
35``buildtools-tarball`` that does. See the 35:term:`buildtools` tarball that does. See the
36":ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`" 36":ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`"
37section for more information. 37section for more information.
38 38
diff --git a/documentation/migration-guides/migration-2.1.rst b/documentation/migration-guides/migration-2.1.rst
index c2fe2e9528..01352acbfa 100644
--- a/documentation/migration-guides/migration-2.1.rst
+++ b/documentation/migration-guides/migration-2.1.rst
@@ -358,9 +358,9 @@ These additional changes exist:
358 358
359- The minimum Git version has been increased to 1.8.3.1. If your host 359- The minimum Git version has been increased to 1.8.3.1. If your host
360 distribution does not provide a sufficiently recent version, you can 360 distribution does not provide a sufficiently recent version, you can
361 install the buildtools, which will provide it. See the 361 install the :term:`buildtools`, which will provide it. See the
362 :ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions` 362 :ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`
363 section for more information on the buildtools tarball. 363 section for more information on the :term:`buildtools` tarball.
364 364
365- The buggy and incomplete support for the RPM version 4 package 365- The buggy and incomplete support for the RPM version 4 package
366 manager has been removed. The well-tested and maintained support for 366 manager has been removed. The well-tested and maintained support for
diff --git a/documentation/migration-guides/migration-2.2.rst b/documentation/migration-guides/migration-2.2.rst
index 751fa06ee8..2d4f4d603e 100644
--- a/documentation/migration-guides/migration-2.2.rst
+++ b/documentation/migration-guides/migration-2.2.rst
@@ -105,7 +105,7 @@ online package-manager support through SMART still require Python 2.
105``buildtools-tarball`` Includes Python 3 105``buildtools-tarball`` Includes Python 3
106~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107 107
108``buildtools-tarball`` now includes Python 3. 108The :term:`buildtools` tarball now includes Python 3.
109 109
110.. _migration-2.2-uclibc-replaced-by-musl: 110.. _migration-2.2-uclibc-replaced-by-musl:
111 111
diff --git a/documentation/migration-guides/migration-3.2.rst b/documentation/migration-guides/migration-3.2.rst
index a5fd8acb62..b53f2b7802 100644
--- a/documentation/migration-guides/migration-3.2.rst
+++ b/documentation/migration-guides/migration-3.2.rst
@@ -13,7 +13,7 @@ Minimum system requirements
13 13
14``gcc`` version 6.0 is now required at minimum on the build host. For older 14``gcc`` version 6.0 is now required at minimum on the build host. For older
15host distributions where this is not available, you can use the 15host distributions where this is not available, you can use the
16``buildtools-extended-tarball`` (easily installable using 16:term:`buildtools-extended` tarball (easily installable using
17``scripts/install-buildtools``). 17``scripts/install-buildtools``).
18 18
19 19
diff --git a/documentation/migration-guides/migration-3.3.rst b/documentation/migration-guides/migration-3.3.rst
index 4ba39d6e32..16d5e2a3ee 100644
--- a/documentation/migration-guides/migration-3.3.rst
+++ b/documentation/migration-guides/migration-3.3.rst
@@ -14,7 +14,7 @@ Minimum system requirements
14 14
15You will now need at least Python 3.6 installed on your build host. Most recent 15You will now need at least Python 3.6 installed on your build host. Most recent
16distributions provide this, but should you be building on a distribution that 16distributions provide this, but should you be building on a distribution that
17does not have it, you can use the ``buildtools-tarball`` (easily installable 17does not have it, you can use the :term:`buildtools` tarball (easily installable
18using ``scripts/install-buildtools``) --- see 18using ``scripts/install-buildtools``) --- see
19:ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions` 19:ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`
20for details. 20for details.
diff --git a/documentation/migration-guides/migration-3.4.rst b/documentation/migration-guides/migration-3.4.rst
index efa4a6d097..88238091a1 100644
--- a/documentation/migration-guides/migration-3.4.rst
+++ b/documentation/migration-guides/migration-3.4.rst
@@ -95,7 +95,7 @@ The ``lz4c``, ``pzstd`` and ``zstd`` commands are now required to be
95installed on the build host to support LZ4 and Zstandard compression 95installed on the build host to support LZ4 and Zstandard compression
96functionality. These are typically provided by ``lz4`` and ``zstd`` 96functionality. These are typically provided by ``lz4`` and ``zstd``
97packages in most Linux distributions. Alternatively they are available 97packages in most Linux distributions. Alternatively they are available
98as part of ``buildtools-tarball`` if your distribution does not provide 98as part of :term:`buildtools` tarball if your distribution does not provide
99them. For more information see 99them. For more information see
100:ref:`ref-manual/system-requirements:required packages for the build host`. 100:ref:`ref-manual/system-requirements:required packages for the build host`.
101 101
diff --git a/documentation/migration-guides/migration-4.0.rst b/documentation/migration-guides/migration-4.0.rst
index b3d30d2a5e..e11809b49c 100644
--- a/documentation/migration-guides/migration-4.0.rst
+++ b/documentation/migration-guides/migration-4.0.rst
@@ -191,7 +191,7 @@ Supported host distribution changes
191 191
192- ``gcc`` version 7.5 is now required at minimum on the build host. For older 192- ``gcc`` version 7.5 is now required at minimum on the build host. For older
193 host distributions where this is not available, you can use the 193 host distributions where this is not available, you can use the
194 ``buildtools-extended-tarball`` (easily installable using 194 :term:`buildtools-extended` tarball (easily installable using
195 ``scripts/install-buildtools``). 195 ``scripts/install-buildtools``).
196 196
197:append/:prepend in combination with other operators 197:append/:prepend in combination with other operators
diff --git a/documentation/migration-guides/migration-4.1.rst b/documentation/migration-guides/migration-4.1.rst
index 14263f70c7..8b9db40ddc 100644
--- a/documentation/migration-guides/migration-4.1.rst
+++ b/documentation/migration-guides/migration-4.1.rst
@@ -16,10 +16,10 @@ make 4.0 is now the minimum required make version
16~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 17
18glibc now requires ``make`` 4.0 to build, thus it is now the version required to 18glibc now requires ``make`` 4.0 to build, thus it is now the version required to
19be installed on the build host. A new ``buildtools-make-tarball`` has been 19be installed on the build host. A new :term:`buildtools-make` tarball has been
20introduced to provide just make 4.0 for host distros without a current/working 20introduced to provide just make 4.0 for host distros without a current/working
21make 4.x version; if you also need other tools you can use the updated 21make 4.x version; if you also need other tools you can use the updated
22``buildtools-tarball``. For more information see 22:term:`buildtools` tarball. For more information see
23:ref:`ref-manual/system-requirements:required packages for the build host`. 23:ref:`ref-manual/system-requirements:required packages for the build host`.
24 24
25 25
diff --git a/documentation/migration-guides/release-notes-4.1.rst b/documentation/migration-guides/release-notes-4.1.rst
index b85a18c32c..09eb6d8c06 100644
--- a/documentation/migration-guides/release-notes-4.1.rst
+++ b/documentation/migration-guides/release-notes-4.1.rst
@@ -11,7 +11,7 @@ New Features / Enhancements in 4.1
11 11
12- ``make`` 4.0 is now the minimum make version required on the build host. 12- ``make`` 4.0 is now the minimum make version required on the build host.
13 For host distros that do not provide it, this is included as part of the 13 For host distros that do not provide it, this is included as part of the
14 ``buildtools-tarball``, and additionally a new ``buildtools-make-tarball`` 14 :term:`buildtools` tarball, and additionally a new :term:`buildtools-make` tarball
15 has been introduced to provide this in particular for host distros with 15 has been introduced to provide this in particular for host distros with
16 a broken make 4.x version. For more details see 16 a broken make 4.x version. For more details see
17 :ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`. 17 :ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`.
diff --git a/documentation/ref-manual/system-requirements.rst b/documentation/ref-manual/system-requirements.rst
index ebb6ca6470..1f9b3b1b58 100644
--- a/documentation/ref-manual/system-requirements.rst
+++ b/documentation/ref-manual/system-requirements.rst
@@ -208,7 +208,7 @@ the following version requirements for Git, tar, and Python:
208- GNU make &MIN_MAKE_VERSION; or greater 208- GNU make &MIN_MAKE_VERSION; or greater
209 209
210If your host development system does not meet all these requirements, 210If your host development system does not meet all these requirements,
211you can resolve this by installing a ``buildtools`` tarball that 211you can resolve this by installing a :term:`buildtools` tarball that
212contains these tools. You can either download a pre-built tarball or 212contains these tools. You can either download a pre-built tarball or
213use BitBake to build one. 213use BitBake to build one.
214 214
@@ -218,23 +218,23 @@ version requirement for gcc:
218- gcc &MIN_GCC_VERSION; or greater 218- gcc &MIN_GCC_VERSION; or greater
219 219
220If your host development system does not meet this requirement, you can 220If your host development system does not meet this requirement, you can
221resolve this by installing a ``buildtools-extended`` tarball that 221resolve this by installing a :term:`buildtools-extended` tarball that
222contains additional tools, the equivalent of the Debian/Ubuntu ``build-essential`` 222contains additional tools, the equivalent of the Debian/Ubuntu ``build-essential``
223package. 223package.
224 224
225For systems with a broken make version (e.g. make 4.2.1 without patches) but 225For systems with a broken make version (e.g. make 4.2.1 without patches) but
226where the rest of the host tools are usable, you can use the ``buildtools-make`` 226where the rest of the host tools are usable, you can use the :term:`buildtools-make`
227tarball instead. 227tarball instead.
228 228
229In the sections that follow, three different methods will be described for 229In the sections that follow, three different methods will be described for
230installing the ``buildtools``, ``buildtools-extended`` or ``buildtools-make`` 230installing the :term:`buildtools`, :term:`buildtools-extended` or :term:`buildtools-make`
231toolset. 231toolset.
232 232
233Installing a Pre-Built ``buildtools`` Tarball with ``install-buildtools`` script 233Installing a Pre-Built ``buildtools`` Tarball with ``install-buildtools`` script
234-------------------------------------------------------------------------------- 234--------------------------------------------------------------------------------
235 235
236The ``install-buildtools`` script is the easiest of the three methods by 236The ``install-buildtools`` script is the easiest of the three methods by
237which you can get these tools. It downloads a pre-built buildtools 237which you can get these tools. It downloads a pre-built :term:`buildtools`
238installer and automatically installs the tools for you: 238installer and automatically installs the tools for you:
239 239
240#. Execute the ``install-buildtools`` script. Here is an example:: 240#. Execute the ``install-buildtools`` script. Here is an example::
@@ -246,7 +246,7 @@ installer and automatically installs the tools for you:
246 --release yocto-&DISTRO; \ 246 --release yocto-&DISTRO; \
247 --installer-version &DISTRO; 247 --installer-version &DISTRO;
248 248
249 During execution, the buildtools tarball will be downloaded, the 249 During execution, the :term:`buildtools` tarball will be downloaded, the
250 checksum of the download will be verified, the installer will be run 250 checksum of the download will be verified, the installer will be run
251 for you, and some basic checks will be run to make sure the 251 for you, and some basic checks will be run to make sure the
252 installation is functional. 252 installation is functional.
@@ -257,7 +257,7 @@ installer and automatically installs the tools for you:
257 /path/to/poky/buildtools 257 /path/to/poky/buildtools
258 258
259 If your host development system needs the additional tools provided 259 If your host development system needs the additional tools provided
260 in the ``buildtools-extended`` tarball, you can instead execute the 260 in the :term:`buildtools-extended` tarball, you can instead execute the
261 ``install-buildtools`` script with the default parameters:: 261 ``install-buildtools`` script with the default parameters::
262 262
263 $ cd poky 263 $ cd poky
@@ -279,7 +279,7 @@ installer and automatically installs the tools for you:
279 ``PATH`` and any other environment variables required to run the 279 ``PATH`` and any other environment variables required to run the
280 tools are initialized. The results are working versions versions of 280 tools are initialized. The results are working versions versions of
281 Git, tar, Python and ``chrpath``. And in the case of the 281 Git, tar, Python and ``chrpath``. And in the case of the
282 ``buildtools-extended`` tarball, additional working versions of tools 282 :term:`buildtools-extended` tarball, additional working versions of tools
283 including ``gcc``, ``make`` and the other tools included in 283 including ``gcc``, ``make`` and the other tools included in
284 ``packagegroup-core-buildessential``. 284 ``packagegroup-core-buildessential``.
285 285
@@ -287,12 +287,12 @@ Downloading a Pre-Built ``buildtools`` Tarball
287---------------------------------------------- 287----------------------------------------------
288 288
289If you would prefer not to use the ``install-buildtools`` script, you can instead 289If you would prefer not to use the ``install-buildtools`` script, you can instead
290download and run a pre-built buildtools installer yourself with the following 290download and run a pre-built :term:`buildtools` installer yourself with the following
291steps: 291steps:
292 292
293#. Go to :yocto_dl:`/releases/yocto/yocto-&DISTRO;/buildtools/`, locate and 293#. Go to :yocto_dl:`/releases/yocto/yocto-&DISTRO;/buildtools/`, locate and
294 download the ``.sh`` file corresponding to your host architecture 294 download the ``.sh`` file corresponding to your host architecture
295 and to ``buildtools``, ``buildtools-extended`` or ``buildtools-make``. 295 and to :term:`buildtools`, :term:`buildtools-extended` or :term:`buildtools-make`.
296 296
297#. Execute the installation script. Here is an example for the 297#. Execute the installation script. Here is an example for the
298 traditional installer:: 298 traditional installer::
@@ -320,20 +320,20 @@ steps:
320 ``PATH`` and any other environment variables required to run the 320 ``PATH`` and any other environment variables required to run the
321 tools are initialized. The results are working versions versions of 321 tools are initialized. The results are working versions versions of
322 Git, tar, Python and ``chrpath``. And in the case of the 322 Git, tar, Python and ``chrpath``. And in the case of the
323 ``buildtools-extended`` tarball, additional working versions of tools 323 :term:`buildtools-extended` tarball, additional working versions of tools
324 including ``gcc``, ``make`` and the other tools included in 324 including ``gcc``, ``make`` and the other tools included in
325 ``packagegroup-core-buildessential``. 325 ``packagegroup-core-buildessential``.
326 326
327Building Your Own ``buildtools`` Tarball 327Building Your Own ``buildtools`` Tarball
328---------------------------------------- 328----------------------------------------
329 329
330Building and running your own buildtools installer applies only when you 330Building and running your own :term:`buildtools` installer applies only when you
331have a build host that can already run BitBake. In this case, you use 331have a build host that can already run BitBake. In this case, you use
332that machine to build the ``.sh`` file and then take steps to transfer 332that machine to build the ``.sh`` file and then take steps to transfer
333and run it on a machine that does not meet the minimal Git, tar, and 333and run it on a machine that does not meet the minimal Git, tar, and
334Python (or gcc) requirements. 334Python (or gcc) requirements.
335 335
336Here are the steps to take to build and run your own buildtools 336Here are the steps to take to build and run your own :term:`buildtools`
337installer: 337installer:
338 338
339#. On the machine that is able to run BitBake, be sure you have set up 339#. On the machine that is able to run BitBake, be sure you have set up
@@ -391,6 +391,6 @@ installer:
391 ``PATH`` and any other environment variables required to run the 391 ``PATH`` and any other environment variables required to run the
392 tools are initialized. The results are working versions versions of 392 tools are initialized. The results are working versions versions of
393 Git, tar, Python and ``chrpath``. And in the case of the 393 Git, tar, Python and ``chrpath``. And in the case of the
394 ``buildtools-extended`` tarball, additional working versions of tools 394 :term:`buildtools-extended` tarball, additional working versions of tools
395 including ``gcc``, ``make`` and the other tools included in 395 including ``gcc``, ``make`` and the other tools included in
396 ``packagegroup-core-buildessential``. 396 ``packagegroup-core-buildessential``.
diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
index 4081dbebd7..ec447d35d2 100644
--- a/documentation/ref-manual/terms.rst
+++ b/documentation/ref-manual/terms.rst
@@ -109,6 +109,24 @@ universal, the list includes them just in case:
109 environment. The build system is sometimes referred to as the development 109 environment. The build system is sometimes referred to as the development
110 host. 110 host.
111 111
112 :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
112 :term:`Classes` 130 :term:`Classes`
113 Files that provide for logic encapsulation and inheritance so that 131 Files that provide for logic encapsulation and inheritance so that
114 commonly used patterns can be defined once and then easily used in 132 commonly used patterns can be defined once and then easily used in
diff --git a/documentation/test-manual/understand-autobuilder.rst b/documentation/test-manual/understand-autobuilder.rst
index bfdc678164..b6e331f68c 100644
--- a/documentation/test-manual/understand-autobuilder.rst
+++ b/documentation/test-manual/understand-autobuilder.rst
@@ -204,7 +204,7 @@ The ``scripts/run-config`` execution is where most of the work within
204the Autobuilder happens. It runs through a number of steps; the first 204the Autobuilder happens. It runs through a number of steps; the first
205are general setup steps that are run once and include: 205are general setup steps that are run once and include:
206 206
207#. Set up any ``buildtools-tarball`` if configured. 207#. Set up any :term:`buildtools` tarball if configured.
208 208
209#. Call "buildhistory-init" if :ref:`buildhistory <ref-classes-buildhistory>` is configured. 209#. Call "buildhistory-init" if :ref:`buildhistory <ref-classes-buildhistory>` is configured.
210 210