diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-12-05 15:20:01 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-11 14:19:25 +0000 |
commit | b43c26ff6c51f96bc07dbbe3d8072cb679635c59 (patch) | |
tree | 23275ae1c30a51f1dd68937d086d553913ddeefb /documentation | |
parent | 4cdb34bc0cedf06edb053c3f4e26f23213d92373 (diff) | |
download | 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.xml | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 18bb9a7cc3..132ffaf875 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -2394,16 +2394,23 @@ | |||
2394 | </section> | 2394 | </section> |
2395 | 2395 | ||
2396 | <section id='ref-classes-siteinfo'> | 2396 | <section id='ref-classes-siteinfo'> |
2397 | <title>Autotools Configuration Data Cache - <filename>siteinfo.bbclass</filename></title> | 2397 | <title><filename>siteinfo.bbclass</filename></title> |
2398 | 2398 | ||
2399 | <para> | 2399 | <para> |
2400 | Autotools can require tests that must execute on the target hardware. | 2400 | The <filename>siteinfo</filename> class provides information about |
2401 | Since this is not possible in general when cross compiling, site information is | 2401 | the targets that might be needed by other classes or recipes. |
2402 | used to provide cached test results so these tests can be skipped over but | 2402 | </para> |
2403 | still make the correct values available. | 2403 | |
2404 | The <filename><link linkend='structure-meta-site'>meta/site directory</link></filename> | 2404 | <para> |
2405 | contains test results sorted into different categories such as architecture, endianness, and | 2405 | As an example, consider Autotools, which can require tests that must |
2406 | the <filename>libc</filename> used. | 2406 | execute on the target hardware. |
2407 | Since this is not possible in general when cross compiling, site | ||
2408 | information is used to provide cached test results so these tests can | ||
2409 | be skipped over but still make the correct values available. | ||
2410 | The | ||
2411 | <filename><link linkend='structure-meta-site'>meta/site directory</link></filename> | ||
2412 | contains test results sorted into different categories such as | ||
2413 | architecture, endianness, and the <filename>libc</filename> used. | ||
2407 | Site information provides a list of files containing data relevant to | 2414 | Site information provides a list of files containing data relevant to |
2408 | the current build in the | 2415 | the current build in the |
2409 | <filename><link linkend='var-CONFIG_SITE'>CONFIG_SITE</link></filename> variable | 2416 | <filename><link linkend='var-CONFIG_SITE'>CONFIG_SITE</link></filename> variable |
@@ -2418,7 +2425,9 @@ | |||
2418 | </para> | 2425 | </para> |
2419 | 2426 | ||
2420 | <para> | 2427 | <para> |
2421 | Because this class is included from <filename>base.bbclass</filename>, it is always active. | 2428 | Because the |
2429 | <link linkend='ref-classes-base'><filename>base</filename></link> class | ||
2430 | includes the <filename>siteinfo</filename> class, it is always active. | ||
2422 | </para> | 2431 | </para> |
2423 | </section> | 2432 | </section> |
2424 | 2433 | ||