summaryrefslogtreecommitdiff
path: root/docs/usermanual/reference
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2010-06-20 14:35:05 -0700
committerChris Larson <chris_larson@mentor.com>2010-07-26 17:35:02 -0700
commit45fc36a32fb23c513833d7e27fb4b9cd8be68fb5 (patch)
tree1fbea309cae474fa69c36dbe00e9789888128598 /docs/usermanual/reference
parent155f1ff7f2c9d9a044e6307cce57f0936d541d3b (diff)
Siteinfo cleanup v2
- Don't supply site files for native. - Split up the site information, so we don't need to add every single combination of os and architecture to the siteinfo.bbclass. - Drop the ${FILE_DIRNAME}/site-<bits> stuff, there are other ways to do it. - SITEINFO_ENDIANESS -> SITEINFO_ENDIANNESS. Signed-off-by: Chris Larson <clarson@kergoth.com>
Diffstat (limited to 'docs/usermanual/reference')
-rw-r--r--docs/usermanual/reference/class_siteinfo.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/usermanual/reference/class_siteinfo.xml b/docs/usermanual/reference/class_siteinfo.xml
index 82dbd84f6e..ca42b61480 100644
--- a/docs/usermanual/reference/class_siteinfo.xml
+++ b/docs/usermanual/reference/class_siteinfo.xml
@@ -23,7 +23,7 @@
<variablelist>
<varlistentry>
- <term>SITEINFO_ENDIANESS</term>
+ <term>SITEINFO_ENDIANNESS</term>
<listitem>
<para>Defines the endianess of the target as either
@@ -55,19 +55,19 @@
</varlistentry>
</variablelist>
- <para>A typical use for the <command>SITEINFO_ENDIANESS</command> and
+ <para>A typical use for the <command>SITEINFO_ENDIANNESS</command> and
<command>SITEINFO_BITS</command> variables is to provide configuration
within a recipe based on their values. The following example from the
<emphasis>openssl</emphasis> recipe showw the correct define for the
endiness of the target being passed to openssl via the compiler flags. The
define to add to the flags is set based on the value of the
- <command>SITEINFO_ENDIANESS</command> variable. Note that use of the
+ <command>SITEINFO_ENDIANNESS</command> variable. Note that use of the
<emphasis>base_conditional</emphasis> method (see the <xref
linkend="recipes_advanced_python" /> section) to select a value conditional
on the endianess setting:</para>
<para><screen> # Additional flag based on target endiness (see siteinfo.bbclass)
- CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}"</screen></para>
+ CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}"</screen></para>
<section>
<title>CONFIG_SITE: The autoconf site files</title>