diff options
author | Chris Larson <clarson@kergoth.com> | 2010-06-20 14:35:05 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-07-26 17:35:02 -0700 |
commit | 45fc36a32fb23c513833d7e27fb4b9cd8be68fb5 (patch) | |
tree | 1fbea309cae474fa69c36dbe00e9789888128598 /docs/usermanual/chapters | |
parent | 155f1ff7f2c9d9a044e6307cce57f0936d541d3b (diff) | |
download | openembedded-45fc36a32fb23c513833d7e27fb4b9cd8be68fb5.tar.gz |
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/chapters')
-rw-r--r-- | docs/usermanual/chapters/recipes.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/usermanual/chapters/recipes.xml b/docs/usermanual/chapters/recipes.xml index 5b0ff143e4..acb0705c90 100644 --- a/docs/usermanual/chapters/recipes.xml +++ b/docs/usermanual/chapters/recipes.xml @@ -1505,7 +1505,7 @@ inherit autotools</screen></para> the parameter for specifying the endianess can be computed and passed in to the configure script:<screen>do_configure() { # Additional flag based on target endianess (see siteinfo.bbclass) - ENDIANESS="${@base_conditional('SITEINFO_ENDIANESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}" + ENDIANESS="${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}" oenote Determined endianess as: $ENDIANESS oe_runconf $ENDIANESS }</screen></para> @@ -1578,7 +1578,7 @@ inherit autotools</screen></para> user which endianess it determined was appropriate for the target device:<screen>do_configure() { # Additional flag based on target endianess (see siteinfo.bbclass) - ENDIANESS="${@base_conditional('SITEINFO_ENDIANESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}" + ENDIANESS="${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}" oenote Determined endianess as: $ENDIANESS oe_runconf $ENDIANESS }</screen></para> @@ -1691,12 +1691,12 @@ inherit autotools</screen></para> <para>The following example from the openssl recipe shows the addition of either <emphasis role="bold">-DL_ENDIAN</emphasis> or <emphasis role="bold">-DB_ENDIAN</emphasis> depending on the value - of <emphasis role="bold">SITEINFO_ENDIANESS</emphasis> which is set + of <emphasis role="bold">SITEINFO_ENDIANNESS</emphasis> which is set to le for little endian targets and to be for big endian targets:<screen>do_compile () { ... # Additional flag based on target endianess (see siteinfo.bbclass) - CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}" + CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}" ...</screen></para> </listitem> </varlistentry> @@ -3265,12 +3265,12 @@ do_configure() { <para>The following example from the openssl recipe shows the addition of either <emphasis role="bold">-DL_ENDIAN</emphasis> or <emphasis role="bold">-DB_ENDIAN</emphasis> depending on the value - of <emphasis role="bold">SITEINFO_ENDIANESS</emphasis> which is set + of <emphasis role="bold">SITEINFO_ENDIANNESS</emphasis> which is set to le for little endian targets and to be for big endian targets:<screen>do_compile () { ... # Additional flag based on target endianess (see siteinfo.bbclass) - CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}" + CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}" ...</screen></para> </listitem> </varlistentry> |