From 87dc166bade8722af4076c8644cac6a0a437826f Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sun, 20 Jun 2010 14:35:05 -0700 Subject: Siteinfo cleanup - 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 - Instead of specifically looking for '${FILE_DIRNAME}/site-${PV}/', leverage FILESPATH. Now it searches the paths in both BBPATH and FILESPATH for "site/". - SITEINFO_ENDIANESS -> SITEINFO_ENDIANNESS Signed-off-by: Chris Larson --- docs/usermanual/chapters/recipes.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/usermanual/chapters') 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 the parameter for specifying the endianess can be computed and passed in to the configure script: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 } @@ -1578,7 +1578,7 @@ inherit autotools user which endianess it determined was appropriate for the target device: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 } @@ -1691,12 +1691,12 @@ inherit autotools The following example from the openssl recipe shows the addition of either -DL_ENDIAN or -DB_ENDIAN depending on the value - of SITEINFO_ENDIANESS which is set + of SITEINFO_ENDIANNESS which is set to le for little endian targets and to be for big endian targets: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)}" ... @@ -3265,12 +3265,12 @@ do_configure() { The following example from the openssl recipe shows the addition of either -DL_ENDIAN or -DB_ENDIAN depending on the value - of SITEINFO_ENDIANESS which is set + of SITEINFO_ENDIANNESS which is set to le for little endian targets and to be for big endian targets: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)}" ... -- cgit v1.2.3