summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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