summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/faq.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-10-27 15:09:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-28 15:48:03 +0100
commitb44fbe5b1b425b8a8c23e4f0ba80583944ab303a (patch)
tree5e1787b385f95ffaf7fa2cf5507ff2a91ef39d07 /documentation/ref-manual/faq.rst
parent50458d923826ae96deaf799fa7ee1e0584cb57ff (diff)
downloadpoky-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.rst17
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`).
270By default, this :term:`Build Directory` is named ``build`` but can be named 270By default, this :term:`Build Directory` is named ``build`` but can be named
271anything you want. 271anything you want.
272 272
273Within the Build Directory, is the ``tmp`` directory. To remove all the 273Within the :term:`Build Directory`, is the ``tmp`` directory. To remove all the
274build output yet preserve any source code or downloaded files from 274build output yet preserve any source code or downloaded files from
275previous builds, simply remove the ``tmp`` directory. 275previous builds, simply remove the ``tmp`` directory.
276 276
@@ -381,14 +381,13 @@ system of that image. Thus, the build system provides a value of
381forth. 381forth.
382 382
383Meanwhile, ``DESTDIR`` is a path within the :term:`Build Directory`. 383Meanwhile, ``DESTDIR`` is a path within the :term:`Build Directory`.
384However, when the recipe builds a 384However, when the recipe builds a native program (i.e. one that is
385native program (i.e. one that is intended to run on the build machine), 385intended to run on the build machine), that program is never installed
386that program is never installed directly to the build machine's root 386directly to the build machine's root file system. Consequently, the build
387file system. Consequently, the build system uses paths within the Build 387system uses paths within the Build Directory for ``DESTDIR``, ``bindir``
388Directory for ``DESTDIR``, ``bindir`` and related variables. To better 388and related variables. To better understand this, consider the following
389understand this, consider the following two paths (artificially broken 389two paths (artificially broken across lines for readability) where the
390across lines for readability) where the first is relatively normal and 390first is relatively normal and the second is not::
391the 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