summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/faq.rst
diff options
context:
space:
mode:
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