From: Scott Rifenbark Date: Mon, 23 May 2011 23:49:33 +0000 (-0500) Subject: documentation/poky-ref-manual/faq.xml: Added new FAQ entry x-toolchain X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=baf6bf4a5de176a5ad0fbaf436134c767eeed9ac;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git documentation/poky-ref-manual/faq.xml: Added new FAQ entry x-toolchain Added a new FAQ entry per Richard Purdie answering the question 'How do I use an external toolchain?' (From yocto-docs rev: 58b78df0d78637234cbcb0e70e225b72ba0f9a2b) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- diff --git a/documentation/poky-ref-manual/faq.xml b/documentation/poky-ref-manual/faq.xml index e0f4bb58699..82817ead462 100644 --- a/documentation/poky-ref-manual/faq.xml +++ b/documentation/poky-ref-manual/faq.xml @@ -428,6 +428,39 @@ + + + + How do I use an external toolchain? + + + + + The toolchain configuration is very flexible and customizable. + It is primarily controlled with the TCMODE variable. + This variable controls which file to include + (conf/distro/include/tcmode-*.inc). + + + The default value of TCMODE is "default". + However, other patterns are accepted. + In particular, "external-*" refers to external toolchains of which there are some basic examples + included with the core. + A user can use their own custom toolchain definition in their own layer + (or local.conf directory) at the location + conf/distro/include/tcmode-*.inc. + + + In addition to the toolchain configuration, you also need a corresponding toolchain recipe file. + This recipe file needs to package up any pre-built objects in the toolchain such as + libgcc, libstdcc++, + any locales and libc. + An example is the external-csl-toolchain_2008q3-72.bb, which reuses the core + libc packaging class to do most of the work. + + + +