summaryrefslogtreecommitdiffstats
path: root/documentation/adt-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2015-02-12 13:32:59 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-17 15:17:03 +0000
commit3dad9aee73f1da4e911d7d42953bb06e5a26b770 (patch)
tree41638d0d68673dac48f505d82438491d438d89f9 /documentation/adt-manual
parent6d17aa00f9fe6bd1c00b383b8863c99be07e9d2c (diff)
downloadpoky-3dad9aee73f1da4e911d7d42953bb06e5a26b770.tar.gz
adt-manual, ref-manual: Detail on using an external toolchain.
Fixes [YOCTO #4907] I created a new section in the toolchain chapter of the adt-manual called "optionally Using an External Toolchain". This provides some fundamental information for the user that wants to use an external toolchain. Additionally, it references Mentor Graphics Sourcery toolchain as an example. In the ref-manual, I updated the TCMODE variable description to better integrate the MGC Sourcery toolchain as the overriding example. (From yocto-docs rev: 51e9c3b88f7e5a16da2aa101589b0f2612fff11d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/adt-manual')
-rw-r--r--documentation/adt-manual/adt-prepare.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/documentation/adt-manual/adt-prepare.xml b/documentation/adt-manual/adt-prepare.xml
index 260e1f18a0..3d0cfd42fb 100644
--- a/documentation/adt-manual/adt-prepare.xml
+++ b/documentation/adt-manual/adt-prepare.xml
@@ -709,6 +709,45 @@
709 </para> 709 </para>
710</section> 710</section>
711 711
712<section id='optionally-using-an-external-toolchain'>
713 <title>Optionally Using an External Toolchain</title>
714
715 <para>
716 You might want to use an external toolchain as part of your
717 development.
718 If this is the case, the fundamental steps you need to accomplish
719 are as follows:
720 <itemizedlist>
721 <listitem><para>
722 Understand where the installed toolchain resides.
723 For cases where you need to build the external toolchain, you
724 would need to take separate steps to build and install the
725 toolchain.
726 </para></listitem>
727 <listitem><para>
728 Make sure you add the layer that contains the toolchain to
729 your <filename>bblayers.conf</filename> file through the
730 <ulink url='&YOCTO_DOCS_REF_URL;#var-BBLAYERS'><filename>BBLAYERS</filename></ulink>
731 variable.
732 </para></listitem>
733 <listitem><para>
734 Set the
735 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTERNAL_TOOLCHAIN'><filename>EXTERNAL_TOOLCHAIN</filename></ulink>
736 variable in your <filename>local.conf</filename> file
737 to the location in which you installed the toolchain.
738 </para></listitem>
739 </itemizedlist>
740 A good example of an external toolchain used with the Yocto Project
741 is <trademark class='registered'>Mentor Graphics</trademark>
742 Sourcery G++ Toolchain.
743 You can see information on how to use that particular layer in the
744 <filename>README</filename> file at
745 <ulink url='http://github.com/MentorEmbedded/meta-sourcery/'></ulink>.
746 You can find further information by reading about the
747 <ulink url='&YOCTO_DOCS_REF_URL;#var-TCMODE'><filename>TCMODE</filename></ulink>
748 variable in the Yocto Project Reference Manual's variable glossary.
749 </para>
750</section>
712</chapter> 751</chapter>
713<!-- 752<!--
714vim: expandtab tw=80 ts=4 753vim: expandtab tw=80 ts=4