diff options
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 3802c60d3f..4fdcb7b780 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -7670,6 +7670,25 @@ Some notes from Cal: | |||
7670 | </para> | 7670 | </para> |
7671 | </section> | 7671 | </section> |
7672 | 7672 | ||
7673 | <section id='dev-saving-memory-during-a-build'> | ||
7674 | <title>Conserving Disk Space During Builds</title> | ||
7675 | |||
7676 | <para> | ||
7677 | To help conserve disk space during builds, you can add the | ||
7678 | following statement to your project's | ||
7679 | <filename>local.conf</filename> configuration file found in the | ||
7680 | <ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>: | ||
7681 | <literallayout class='monospaced'> | ||
7682 | INHERIT += "rm_work" | ||
7683 | </literallayout> | ||
7684 | Adding this statement deletes the work directory used for building | ||
7685 | a recipe once the recipe is built. | ||
7686 | For more information on "rm_work", see the | ||
7687 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-rm-work'><filename>rm_work</filename></ulink> | ||
7688 | class in the Yocto Project Reference Manual. | ||
7689 | </para> | ||
7690 | </section> | ||
7691 | |||
7673 | <section id='building-a-tiny-system'> | 7692 | <section id='building-a-tiny-system'> |
7674 | <title>Building a Tiny System</title> | 7693 | <title>Building a Tiny System</title> |
7675 | 7694 | ||