From 45fc36a32fb23c513833d7e27fb4b9cd8be68fb5 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sun, 20 Jun 2010 14:35:05 -0700 Subject: 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- stuff, there are other ways to do it. - SITEINFO_ENDIANESS -> SITEINFO_ENDIANNESS. Signed-off-by: Chris Larson --- 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 82dbd84f6e..ca42b61480 100644 --- a/docs/usermanual/reference/class_siteinfo.xml +++ b/docs/usermanual/reference/class_siteinfo.xml @@ -23,7 +23,7 @@ - SITEINFO_ENDIANESS + SITEINFO_ENDIANNESS Defines the endianess of the target as either @@ -55,19 +55,19 @@ - A typical use for the SITEINFO_ENDIANESS and + A typical use for the SITEINFO_ENDIANNESS 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_ENDIANESS variable. Note that use of the + SITEINFO_ENDIANNESS 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_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}" + CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}"
CONFIG_SITE: The autoconf site files -- cgit v1.2.3