diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-10-03 10:02:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-11 08:51:21 +0100 |
commit | ca85107b9ad5358573052b88e98665c7110288c2 (patch) | |
tree | d62f3c53bb50c0a5dc86eb9d2bc1d42bf7971bc8 /documentation | |
parent | 7ff22fc572aec5900e8b7eb061ce31c3855b8fbd (diff) | |
download | poky-ca85107b9ad5358573052b88e98665c7110288c2.tar.gz |
ref-manual: Updated build/tmp/cache/ reference section
Fixes [YOCTO #10356]
Expanded the general description of this directory.
(From yocto-docs rev: df71fe472f9d5cb5f809706ec4218952a49d31d3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-structure.xml | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/documentation/ref-manual/ref-structure.xml b/documentation/ref-manual/ref-structure.xml index 6912d3f6b2..541a47e556 100644 --- a/documentation/ref-manual/ref-structure.xml +++ b/documentation/ref-manual/ref-structure.xml | |||
@@ -660,9 +660,21 @@ | |||
660 | <title><filename>build/tmp/cache/</filename></title> | 660 | <title><filename>build/tmp/cache/</filename></title> |
661 | 661 | ||
662 | <para> | 662 | <para> |
663 | When BitBake parses the metadata, it creates a cache file of the result that can | 663 | When BitBake parses the metadata (recipes and configuration files), |
664 | be used when subsequently running commands. | 664 | it caches the results in <filename>build/tmp/cache/</filename> |
665 | BitBake stores these results here on a per-machine basis. | 665 | to speed up future builds. |
666 | The results are stored on a per-machine basis. | ||
667 | </para> | ||
668 | |||
669 | <para> | ||
670 | During subsequent builds, BitBake checks each recipe (together | ||
671 | with, for example, any files included or appended to it) to see | ||
672 | if they have been modified. | ||
673 | Changes can be detected, for example, through file modification | ||
674 | time (mtime) changes and hashing of file contents. | ||
675 | If no changes to the file are detected, then the parsed result | ||
676 | stored in the cache is reused. | ||
677 | If the file has changed, it is reparsed. | ||
666 | </para> | 678 | </para> |
667 | </section> | 679 | </section> |
668 | 680 | ||