diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-10-27 15:09:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-28 15:48:03 +0100 |
commit | b44fbe5b1b425b8a8c23e4f0ba80583944ab303a (patch) | |
tree | 5e1787b385f95ffaf7fa2cf5507ff2a91ef39d07 /documentation/ref-manual/faq.rst | |
parent | 50458d923826ae96deaf799fa7ee1e0584cb57ff (diff) | |
download | poky-b44fbe5b1b425b8a8c23e4f0ba80583944ab303a.tar.gz |
manuals: use references to the "Build Directory" term
Replace instances of "Build Directory" and "build directory"
(when applicable) by :term:`Build Directory` as already
done in most places.
Doing this, fix the indentation of the paragraphs with
this term.
(From yocto-docs rev: dce50679242d39f133e0cde5c8483b5e69f3eb54)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/faq.rst')
-rw-r--r-- | documentation/ref-manual/faq.rst | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index a570c40e7d..d35ab78bff 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst | |||
@@ -270,7 +270,7 @@ the build environment setup script (i.e. :ref:`structure-core-script`). | |||
270 | By default, this :term:`Build Directory` is named ``build`` but can be named | 270 | By default, this :term:`Build Directory` is named ``build`` but can be named |
271 | anything you want. | 271 | anything you want. |
272 | 272 | ||
273 | Within the Build Directory, is the ``tmp`` directory. To remove all the | 273 | Within the :term:`Build Directory`, is the ``tmp`` directory. To remove all the |
274 | build output yet preserve any source code or downloaded files from | 274 | build output yet preserve any source code or downloaded files from |
275 | previous builds, simply remove the ``tmp`` directory. | 275 | previous builds, simply remove the ``tmp`` directory. |
276 | 276 | ||
@@ -381,14 +381,13 @@ system of that image. Thus, the build system provides a value of | |||
381 | forth. | 381 | forth. |
382 | 382 | ||
383 | Meanwhile, ``DESTDIR`` is a path within the :term:`Build Directory`. | 383 | Meanwhile, ``DESTDIR`` is a path within the :term:`Build Directory`. |
384 | However, when the recipe builds a | 384 | However, when the recipe builds a native program (i.e. one that is |
385 | native program (i.e. one that is intended to run on the build machine), | 385 | intended to run on the build machine), that program is never installed |
386 | that program is never installed directly to the build machine's root | 386 | directly to the build machine's root file system. Consequently, the build |
387 | file system. Consequently, the build system uses paths within the Build | 387 | system uses paths within the Build Directory for ``DESTDIR``, ``bindir`` |
388 | Directory for ``DESTDIR``, ``bindir`` and related variables. To better | 388 | and related variables. To better understand this, consider the following |
389 | understand this, consider the following two paths (artificially broken | 389 | two paths (artificially broken across lines for readability) where the |
390 | across lines for readability) where the first is relatively normal and | 390 | first is relatively normal and the second is not:: |
391 | the second is not:: | ||
392 | 391 | ||
393 | /home/maxtothemax/poky-bootchart2/build/tmp/work/i586-poky-linux/zlib/ | 392 | /home/maxtothemax/poky-bootchart2/build/tmp/work/i586-poky-linux/zlib/ |
394 | 1.2.8-r0/sysroot-destdir/usr/bin | 393 | 1.2.8-r0/sysroot-destdir/usr/bin |