summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-classes.xml
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-04-03 21:02:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-13 23:57:13 +0100
commitc3ecfdb70780488a262e079281e7274f49d401ea (patch)
tree971387a6873a33784834c70ba7e8cb21b2a1e85b /documentation/ref-manual/ref-classes.xml
parent52ac48097404a3ebb574f46205e96d9bedfa3f6a (diff)
downloadast2050-yocto-poky-c3ecfdb70780488a262e079281e7274f49d401ea.zip
ast2050-yocto-poky-c3ecfdb70780488a262e079281e7274f49d401ea.tar.gz
ref-manual: add documentation for rm_work.bbclass
I rewrote the class description to conform to the existing manual style. Mainly making voice active and breaking up long sentenced. (From yocto-docs rev: e715167e280eb647be52c142f733942dab3f4dfb) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
-rw-r--r--documentation/ref-manual/ref-classes.xml37
1 files changed, 36 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index a03a68b..acda0da 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -538,6 +538,42 @@
</para>
</section>
+<section id='ref-classes-rm-work'>
+ <title>Removing work files during the build - <filename>rm_work.bbclass</filename></title>
+
+ <para>
+ The OpenEmbedded build system can use a substantial amount of disk
+ space during the build process.
+ A portion of this space is the work files under the
+ <filename>${TMPDIR}/work</filename> directory for each recipe.
+ Once the build system generates the packages for a recipe, the work
+ files for that recipe are no longer needed.
+ However, by default, the build system preserves these files
+ for inspection and possible debugging purposes.
+ If you would rather have these files deleted to save disk space
+ as the build progresses, you can enable <filename>rm_work</filename>
+ by adding the following to your <filename>local.conf</filename> file,
+ which is found in the
+ <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>.
+ <literallayout class='monospaced'>
+ INHERIT += "rm_work"
+ </literallayout>
+ If you are modifying and building source code out of the work directory
+ for a recipe, enabling <filename>rm_work</filename> will potentially
+ result in your changes to the source being lost.
+ To exclude some recipes from having their work directories deleted by
+ <filename>rm_work</filename>, you can add the names of the recipe or
+ recipes you are working on to the <filename>RM_WORK_EXCLUDE</filename>
+ variable, which is also found in your <filename>local.conf</filename>
+ file.
+ Here is an example:
+ <literallayout class='monospaced'>
+ RM_WORK_EXCLUDE += "busybox eglibc"
+ </literallayout>
+ </para>
+</section>
+
+
<section id='ref-classes-siteinfo'>
<title>Autotools Configuration Data Cache - <filename>siteinfo.bbclass</filename></title>
@@ -732,7 +768,6 @@
qt4*.bbclass
recipe_sanity.bbclass
relocatable.bbclass
- rm_work.bbclass
scons.bbclass
sdl.bbclass
setuptools.bbclass
OpenPOWER on IntegriCloud