documentation/poky-ref-manual/faq.xml: added FAQ on deleting tmp

Added a new FAQ entry on how to get rid of build output and
start over.  Sourced by Robert P. J. Day.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 3b94911aaf64b9618f8dbc0d8b98384b9ebd33b4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2012-06-27 10:32:01 -07:00 committed by Richard Purdie
parent 5f36c2c37f
commit 7afc6af42a
1 changed files with 28 additions and 0 deletions

View File

@ -581,6 +581,34 @@
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
Can I get rid of build output so I can start over?
</para>
</question>
<answer>
<para>
Yes - you can easily do this.
When you use BitBake to build an image, all the build output goes into the
directory created when you source the <filename>oe-init-build-env</filename>
setup file.
By default, this <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-build-directory'>Yocto
Project Build Directory</ulink> is named <filename>build</filename> but can be named
anything you want.
</para>
<para>
Within the Yocto Project Build Directory is the <filename>tmp</filename>
directory.
To remove all the build output yet preserve any source code or downloaded files
from previous builds, simply remove the <filename>tmp</filename> directory.
</para>
</answer>
</qandaentry>
</qandaset>
</appendix>
<!--