diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-05-23 18:49:33 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-20 22:35:16 +0000 |
commit | 78d092fe7a6b12e737ddc7c9564a72ad85a8a3c9 (patch) | |
tree | 1c1cdf71dd21ab057a30a9710d3e39263d8d4a2e | |
parent | 361eda901cf40172af22c4aced00ecc622d81ff9 (diff) | |
download | poky-78d092fe7a6b12e737ddc7c9564a72ad85a8a3c9.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: 4203e02eb93a54f4b86554ed07f7353b25fd340e)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/poky-ref-manual/faq.xml | 33 |
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 | ||