diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-03-08 07:59:59 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-11 23:06:05 +0000 |
commit | 53dd8a06ec2de39920a686d5e09ed5b90865ac2d (patch) | |
tree | 90da33e485ab767525207a2844301d3a74bec905 /documentation/dev-manual | |
parent | 9d76cfee1f8880d6647ac99faad0e688dfa1694f (diff) | |
download | poky-53dd8a06ec2de39920a686d5e09ed5b90865ac2d.tar.gz |
dev-manual: Moved "Optionally Using an External Toolchain" to Tasks chapter.
(From yocto-docs rev: e7880667db33c1495d1cbcb91de8c91b9b84dc59)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index ddff77cdc2..36c69396cf 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -3701,6 +3701,46 @@ | |||
3701 | </section> | 3701 | </section> |
3702 | </section> | 3702 | </section> |
3703 | 3703 | ||
3704 | <section id='dev-optionally-using-an-external-toolchain'> | ||
3705 | <title>Optionally Using an External Toolchain</title> | ||
3706 | |||
3707 | <para> | ||
3708 | You might want to use an external toolchain as part of your | ||
3709 | development. | ||
3710 | If this is the case, the fundamental steps you need to accomplish | ||
3711 | are as follows: | ||
3712 | <itemizedlist> | ||
3713 | <listitem><para> | ||
3714 | Understand where the installed toolchain resides. | ||
3715 | For cases where you need to build the external toolchain, | ||
3716 | you would need to take separate steps to build and install | ||
3717 | the toolchain. | ||
3718 | </para></listitem> | ||
3719 | <listitem><para> | ||
3720 | Make sure you add the layer that contains the toolchain to | ||
3721 | your <filename>bblayers.conf</filename> file through the | ||
3722 | <ulink url='&YOCTO_DOCS_REF_URL;#var-BBLAYERS'><filename>BBLAYERS</filename></ulink> | ||
3723 | variable. | ||
3724 | </para></listitem> | ||
3725 | <listitem><para> | ||
3726 | Set the | ||
3727 | <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTERNAL_TOOLCHAIN'><filename>EXTERNAL_TOOLCHAIN</filename></ulink> | ||
3728 | variable in your <filename>local.conf</filename> file | ||
3729 | to the location in which you installed the toolchain. | ||
3730 | </para></listitem> | ||
3731 | </itemizedlist> | ||
3732 | A good example of an external toolchain used with the Yocto Project | ||
3733 | is <trademark class='registered'>Mentor Graphics</trademark> | ||
3734 | Sourcery G++ Toolchain. | ||
3735 | You can see information on how to use that particular layer in the | ||
3736 | <filename>README</filename> file at | ||
3737 | <ulink url='http://github.com/MentorEmbedded/meta-sourcery/'></ulink>. | ||
3738 | You can find further information by reading about the | ||
3739 | <ulink url='&YOCTO_DOCS_REF_URL;#var-TCMODE'><filename>TCMODE</filename></ulink> | ||
3740 | variable in the Yocto Project Reference Manual's variable glossary. | ||
3741 | </para> | ||
3742 | </section> | ||
3743 | |||
3704 | <section id='creating-partitioned-images'> | 3744 | <section id='creating-partitioned-images'> |
3705 | <title>Creating Partitioned Images</title> | 3745 | <title>Creating Partitioned Images</title> |
3706 | 3746 | ||