From 5dd83ad7e342e465961e730b30620af578241a21 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 13 Dec 2013 12:31:28 -0600 Subject: ref-manual: Updated the TCMODE variable description. (From yocto-docs rev: 96fa2af5161307c839e61d835937812da22f8158) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 48 +++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 14 deletions(-) (limited to 'documentation/ref-manual') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 1f71e7eb39..f43f8e793d 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -6532,25 +6532,45 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" TCMODE - The toolchain selector. - This variable replaces POKYMODE, which is no longer - supported. + Specifies the toolchain selector. + TCMODE controls the characteristics + of the generated packages and images by telling the + OpenEmbedded build system which toolchain profile to use. + By default, the OpenEmbedded build system builds its own + internal toolchain. + The variable's default value is "default", which uses + that internal toolchain. + - The TCMODE variable selects the external toolchain - built using the OpenEmbedded build system or a few supported combinations of - the upstream GCC or CodeSourcery Labs toolchain. - The variable identifies the tcmode-* files used in - the meta/conf/distro/include directory, which is found in the - Source Directory. + With additional layers, it is possible to use a pre-compiled + external toolchain. + One example is the Sourcery G++ Toolchain. + The support for this toolchain resides in the separate + meta-sourcery layer at + . + You can use meta-sourcery as a + template for adding support for other external toolchains. + + + + The TCMODE variable points the build + system to a file in + conf/distro/include/tcmode-${TCMODE}.inc. + Thus, for meta-sourcery, + which has conf/distro/include/tcmode-external-sourcery.inc, + you would set the variable as follows: + + TCMODE ?= "external-sourcery" + + - By default, TCMODE is set to "default", which - chooses the tcmode-default.inc file. The variable is similar to - TCLIBC, which controls - the variant of the GNU standard C library (libc) - used during the build process: eglibc or uclibc. + TCLIBC, + which controls the variant of the GNU standard C library + (libc) used during the build process: + eglibc or uclibc. -- cgit v1.2.3-54-g00ecf