From 155f1ff7f2c9d9a044e6307cce57f0936d541d3b Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Mon, 26 Jul 2010 15:09:08 -0700 Subject: Revert "Siteinfo cleanup" Will revisit. This reverts commit 87dc166bade8722af4076c8644cac6a0a437826f. --- docs/usermanual/reference/class_siteinfo.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/usermanual/reference') diff --git a/docs/usermanual/reference/class_siteinfo.xml b/docs/usermanual/reference/class_siteinfo.xml index ca42b61480..82dbd84f6e 100644 --- a/docs/usermanual/reference/class_siteinfo.xml +++ b/docs/usermanual/reference/class_siteinfo.xml @@ -23,7 +23,7 @@ - SITEINFO_ENDIANNESS + SITEINFO_ENDIANESS Defines the endianess of the target as either @@ -55,19 +55,19 @@ - A typical use for the SITEINFO_ENDIANNESS and + A typical use for the SITEINFO_ENDIANESS and SITEINFO_BITS variables is to provide configuration within a recipe based on their values. The following example from the openssl 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 - SITEINFO_ENDIANNESS variable. Note that use of the + SITEINFO_ENDIANESS variable. Note that use of the base_conditional method (see the section) to select a value conditional on the endianess setting: # Additional flag based on target endiness (see siteinfo.bbclass) - CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}" + CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}"
CONFIG_SITE: The autoconf site files -- cgit 1.2.3-korg