summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-06-19 11:27:12 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 13:57:08 +0100
commit1c0229ebc8c12f8214f92c898cd73793ebebf2d0 (patch)
tree70fde81257cf39bcd732a34a342aecd0edde2537
parenta548944ecf9ae5e8e631da5539874c631a4e981b (diff)
downloadpoky-1c0229ebc8c12f8214f92c898cd73793ebebf2d0.tar.gz
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/ref-variables.xml59
1 files changed, 59 insertions, 0 deletions
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"
8200 mips 8200 mips
8201 mipsel 8201 mipsel
8202 </literallayout> 8202 </literallayout>
8203 For additional information on machine architectures, see
8204 the
8205 <link linkend='var-TUNE_ARCH'><filename>TUNE_ARCH</filename></link>
8206 variable.
8203 </para> 8207 </para>
8204 </glossdef> 8208 </glossdef>
8205 </glossentry> 8209 </glossentry>
@@ -8796,6 +8800,61 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
8796 </glossdef> 8800 </glossdef>
8797 </glossentry> 8801 </glossentry>
8798 8802
8803 <glossentry id='var-TUNE_ARCH'><glossterm>TUNE_ARCH</glossterm>
8804 <glossdef>
8805 <para>
8806 The GNU canonical architecture for a specific architecture
8807 (i.e. <filename>arm</filename>,
8808 <filename>armeb</filename>,
8809 <filename>mips</filename>,
8810 <filename>mips64</filename>, and so forth).
8811 BitBake uses this value to setup configuration.
8812 </para>
8813
8814 <para>
8815 <filename>TUNE_ARCH</filename> definitions are specific to
8816 a given architecture.
8817 The definitions can be a single static definition, or
8818 can be dynamically adjusted.
8819 You can see details for a given CPU family by looking at
8820 the architecture's <filename>README</filename> file.
8821 For example, the
8822 <filename>meta/conf/machine/include/mips/README</filename>
8823 file in the
8824 <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
8825 provides information for <filename>TUNE_ARCH</filename>
8826 specific to the <filename>mips</filename> architecture.
8827 </para>
8828
8829 <para>
8830 <filename>TUNE_ARCH</filename> is tied closely to
8831 <link linkend='var-TARGET_ARCH'><filename>TARGET_ARCH</filename></link>,
8832 which defines the target machine's architecture.
8833 The BitBake configuration file
8834 (<filename>meta/conf/bitbake.conf</filename>) sets
8835 <filename>TARGET_ARCH</filename> as follows:
8836 <literallayout class='monospaced'>
8837 TARGET_ARCH = "${TUNE_ARCH}"
8838 </literallayout>
8839 </para>
8840
8841 <para>
8842 The following list, which is by no means complete since
8843 architectures are configurable, shows supported machine
8844 architectures:
8845 <literallayout class='monospaced'>
8846 arm
8847 i586
8848 x86_64
8849 powerpc
8850 powerpc64
8851 mips
8852 mipsel
8853 </literallayout>
8854 </para>
8855 </glossdef>
8856 </glossentry>
8857
8799 <glossentry id='var-TUNE_CCARGS'><glossterm>TUNE_CCARGS</glossterm> 8858 <glossentry id='var-TUNE_CCARGS'><glossterm>TUNE_CCARGS</glossterm>
8800 <glossdef> 8859 <glossdef>
8801 <para> 8860 <para>