From 30f491637c9e4d366eef6cfe2e7e3966d02f3bd7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 13 Jul 2012 10:38:29 -0700 Subject: documentation/poky-ref-manual/faq.xml: Updates to external toolchain Updated the FAQ entry on "How do I use an external toolchain." Comments were from Richard Purdie. (From yocto-docs rev: db3986d2eff17087eb141ac0f4dfed55ff753368) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/faq.xml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'documentation') diff --git a/documentation/poky-ref-manual/faq.xml b/documentation/poky-ref-manual/faq.xml index 74406ffcb8..d619056355 100644 --- a/documentation/poky-ref-manual/faq.xml +++ b/documentation/poky-ref-manual/faq.xml @@ -477,25 +477,27 @@ TCMODE variable. This variable controls which tcmode-*.inc file to include from the meta/conf/distro/include directory within the - Yocto Project Files. + source directory. + The default value of TCMODE is "default" - (i.e. tcmode-default.inc. + (i.e. tcmode-default.inc). 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 + basic examples included in the OpenEmbedded Core (meta). + You can use your own custom toolchain definition in your own layer (or as defined in the local.conf file) 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. + any locales, and libc. + An example is the external-sourcery-toolchain.bb, which is located + in meta/recipes-core/meta/ within the source directory. -- cgit v1.2.3-54-g00ecf