summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual/faq.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-05-23 18:49:33 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-13 22:38:03 +0100
commitbaf6bf4a5de176a5ad0fbaf436134c767eeed9ac (patch)
tree9505d738f228dbc9eb493c74e3e5843bd8cefec1 /documentation/poky-ref-manual/faq.xml
parent4a7bf7dd9dcd7c9ff76e1b2ac8b835bdc5c24b7c (diff)
downloadpoky-baf6bf4a5de176a5ad0fbaf436134c767eeed9ac.tar.gz
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual/faq.xml')
-rw-r--r--documentation/poky-ref-manual/faq.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/documentation/poky-ref-manual/faq.xml b/documentation/poky-ref-manual/faq.xml
index e0f4bb5869..82817ead46 100644
--- a/documentation/poky-ref-manual/faq.xml
+++ b/documentation/poky-ref-manual/faq.xml
@@ -428,6 +428,39 @@
428 </answer> 428 </answer>
429 </qandaentry> 429 </qandaentry>
430 430
431 <qandaentry>
432 <question>
433 <para>
434 How do I use an external toolchain?
435 </para>
436 </question>
437 <answer>
438 <para>
439 The toolchain configuration is very flexible and customizable.
440 It is primarily controlled with the TCMODE variable.
441 This variable controls which file to include
442 (<filename>conf/distro/include/tcmode-*.inc</filename>).
443 </para>
444 <para>
445 The default value of TCMODE is "default".
446 However, other patterns are accepted.
447 In particular, "external-*" refers to external toolchains of which there are some basic examples
448 included with the core.
449 A user can use their own custom toolchain definition in their own layer
450 (or <filename>local.conf</filename> directory) at the location
451 <filename>conf/distro/include/tcmode-*.inc</filename>.
452 </para>
453 <para>
454 In addition to the toolchain configuration, you also need a corresponding toolchain recipe file.
455 This recipe file needs to package up any pre-built objects in the toolchain such as
456 <filename>libgcc</filename>, <filename>libstdcc++</filename>,
457 any locales and <filename>libc</filename>.
458 An example is the <filename>external-csl-toolchain_2008q3-72.bb</filename>, which reuses the core
459 <filename>libc</filename> packaging class to do most of the work.
460 </para>
461 </answer>
462 </qandaentry>
463
431 464
432 465
433 466