summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-12-05 15:20:01 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-11 14:19:25 +0000
commitb43c26ff6c51f96bc07dbbe3d8072cb679635c59 (patch)
tree23275ae1c30a51f1dd68937d086d553913ddeefb /documentation
parent4cdb34bc0cedf06edb053c3f4e26f23213d92373 (diff)
downloadast2050-yocto-poky-b43c26ff6c51f96bc07dbbe3d8072cb679635c59.zip
ast2050-yocto-poky-b43c26ff6c51f96bc07dbbe3d8072cb679635c59.tar.gz
ref-manual: Edits to siteinfo class.
(From yocto-docs rev: f66f7849b8ac338521c0890872e91e421cb25422) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-classes.xml27
1 files changed, 18 insertions, 9 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index 18bb9a7..132ffaf 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -2394,16 +2394,23 @@
</section>
<section id='ref-classes-siteinfo'>
- <title>Autotools Configuration Data Cache - <filename>siteinfo.bbclass</filename></title>
+ <title><filename>siteinfo.bbclass</filename></title>
<para>
- Autotools can require tests that must execute on the target hardware.
- Since this is not possible in general when cross compiling, site information is
- used to provide cached test results so these tests can be skipped over but
- still make the correct values available.
- The <filename><link linkend='structure-meta-site'>meta/site directory</link></filename>
- contains test results sorted into different categories such as architecture, endianness, and
- the <filename>libc</filename> used.
+ The <filename>siteinfo</filename> class provides information about
+ the targets that might be needed by other classes or recipes.
+ </para>
+
+ <para>
+ As an example, consider Autotools, which can require tests that must
+ execute on the target hardware.
+ Since this is not possible in general when cross compiling, site
+ information is used to provide cached test results so these tests can
+ be skipped over but still make the correct values available.
+ The
+ <filename><link linkend='structure-meta-site'>meta/site directory</link></filename>
+ contains test results sorted into different categories such as
+ architecture, endianness, and the <filename>libc</filename> used.
Site information provides a list of files containing data relevant to
the current build in the
<filename><link linkend='var-CONFIG_SITE'>CONFIG_SITE</link></filename> variable
@@ -2418,7 +2425,9 @@
</para>
<para>
- Because this class is included from <filename>base.bbclass</filename>, it is always active.
+ Because the
+ <link linkend='ref-classes-base'><filename>base</filename></link> class
+ includes the <filename>siteinfo</filename> class, it is always active.
</para>
</section>
OpenPOWER on IntegriCloud