From 1c0229ebc8c12f8214f92c898cd73793ebebf2d0 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 19 Jun 2014 11:27:12 +0300 Subject: ref-manual: Added TUNE_ARCH variable and edited TARGET_ARCH. Fixes [YOCTO 5463] Added the TUNE_ARCH variable. Also placed a cross-reference to TUNE_ARCH in the TARGET_ARCH variable. (From yocto-docs rev: 85d2a49323e0040b263b6d7f08fd036a25297b05) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 59 ++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) (limited to 'documentation/ref-manual/ref-variables.xml') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 3bd7f9ddd7..a811a63cbd 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -8200,6 +8200,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" mips mipsel + For additional information on machine architectures, see + the + TUNE_ARCH + variable. @@ -8796,6 +8800,61 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + TUNE_ARCH + + + The GNU canonical architecture for a specific architecture + (i.e. arm, + armeb, + mips, + mips64, and so forth). + BitBake uses this value to setup configuration. + + + + TUNE_ARCH definitions are specific to + a given architecture. + The definitions can be a single static definition, or + can be dynamically adjusted. + You can see details for a given CPU family by looking at + the architecture's README file. + For example, the + meta/conf/machine/include/mips/README + file in the + Source Directory + provides information for TUNE_ARCH + specific to the mips architecture. + + + + TUNE_ARCH is tied closely to + TARGET_ARCH, + which defines the target machine's architecture. + The BitBake configuration file + (meta/conf/bitbake.conf) sets + TARGET_ARCH as follows: + + TARGET_ARCH = "${TUNE_ARCH}" + + + + + The following list, which is by no means complete since + architectures are configurable, shows supported machine + architectures: + + arm + i586 + x86_64 + powerpc + powerpc64 + mips + mipsel + + + + + TUNE_CCARGS -- cgit v1.2.3-54-g00ecf