summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/faq.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-03-29 09:30:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-04 14:13:43 +0100
commitb866355f61edff7097b1bd1d402b21c3dbc6c9b1 (patch)
tree741eedd9d98061594e2e64d7084e90f27c610d65 /documentation/ref-manual/faq.xml
parent59bc5009a081456aea5f86d42aec3526094af7ed (diff)
downloadpoky-b866355f61edff7097b1bd1d402b21c3dbc6c9b1.tar.gz
ref-manual: Edits to the using an external toolchain question.
(From yocto-docs rev: 8fc82c1dfc527cf8356bed580077cb9e6f665876) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/faq.xml')
-rw-r--r--documentation/ref-manual/faq.xml44
1 files changed, 30 insertions, 14 deletions
diff --git a/documentation/ref-manual/faq.xml b/documentation/ref-manual/faq.xml
index aca452cf73..d07f1e4012 100644
--- a/documentation/ref-manual/faq.xml
+++ b/documentation/ref-manual/faq.xml
@@ -514,30 +514,46 @@
514 <para> 514 <para>
515 The toolchain configuration is very flexible and customizable. 515 The toolchain configuration is very flexible and customizable.
516 It is primarily controlled with the 516 It is primarily controlled with the
517 <filename><link linkend='var-TCMODE'>TCMODE</link></filename> variable. 517 <filename><link linkend='var-TCMODE'>TCMODE</link></filename>
518 This variable controls which <filename>tcmode-*.inc</filename> file to include 518 variable.
519 from the <filename>meta/conf/distro/include</filename> directory within the 519 This variable controls which <filename>tcmode-*.inc</filename>
520 <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink>. 520 file to include from the
521 <filename>meta/conf/distro/include</filename> directory within
522 the
523 <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>.
521 </para> 524 </para>
522 525
523 <para> 526 <para>
524 The default value of <filename>TCMODE</filename> is "default" 527 The default value of <filename>TCMODE</filename> is "default"
525 (i.e. <filename>tcmode-default.inc</filename>). 528 (i.e. <filename>tcmode-default.inc</filename>).
526 However, other patterns are accepted. 529 However, other patterns are accepted.
527 In particular, "external-*" refers to external toolchains of which there are some 530 In particular, "external-*" refers to external toolchains of
528 basic examples included in the OpenEmbedded Core (<filename>meta</filename>). 531 which there are some basic examples included in the
529 You can use your own custom toolchain definition in your own layer 532 OpenEmbedded Core (<filename>meta</filename>).
530 (or as defined in the <filename>local.conf</filename> file) at the location 533 You can use your own custom toolchain definition in your own
534 layer (or as defined in the <filename>local.conf</filename>
535 file) at the location
531 <filename>conf/distro/include/tcmode-*.inc</filename>. 536 <filename>conf/distro/include/tcmode-*.inc</filename>.
532 </para> 537 </para>
533 538
534 <para> 539 <para>
535 In addition to the toolchain configuration, you also need a corresponding toolchain recipe file. 540 In addition to the toolchain configuration, you also need a
536 This recipe file needs to package up any pre-built objects in the toolchain such as 541 corresponding toolchain recipe file.
537 <filename>libgcc</filename>, <filename>libstdcc++</filename>, 542 This recipe file needs to package up any pre-built objects in
538 any locales, and <filename>libc</filename>. 543 the toolchain such as <filename>libgcc</filename>,
539 An example is the <filename>external-sourcery-toolchain.bb</filename>, which is located 544 <filename>libstdcc++</filename>, any locales, and
540 in <filename>meta/recipes-core/meta/</filename> within the source directory. 545 <filename>libc</filename>.
546 An example is the
547 <filename>external-sourcery-toolchain.bb</filename>, which is
548 located in <filename>meta/recipes-core/meta/</filename> within
549 the Source Directory.
550 </para>
551
552 <para>
553 For information on installing and using cross-development
554 toolchains, see the
555 "<ulink url='&YOCTO_DOCS_ADT_URL;#installing-the-adt'>Installing the ADT and Toolchains</ulink>"
556 section in the Yocto Project Application Developer's Guide.
541 </para> 557 </para>
542 </answer> 558 </answer>
543 </qandaentry> 559 </qandaentry>