summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/external-toolchain.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/dev-manual/external-toolchain.rst')
-rw-r--r--documentation/dev-manual/external-toolchain.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/documentation/dev-manual/external-toolchain.rst b/documentation/dev-manual/external-toolchain.rst
new file mode 100644
index 0000000000..e1fabbed22
--- /dev/null
+++ b/documentation/dev-manual/external-toolchain.rst
@@ -0,0 +1,28 @@
1.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
2
3Optionally Using an External Toolchain
4**************************************
5
6You might want to use an external toolchain as part of your development.
7If this is the case, the fundamental steps you need to accomplish are as
8follows:
9
10- Understand where the installed toolchain resides. For cases where you
11 need to build the external toolchain, you would need to take separate
12 steps to build and install the toolchain.
13
14- Make sure you add the layer that contains the toolchain to your
15 ``bblayers.conf`` file through the
16 :term:`BBLAYERS` variable.
17
18- Set the ``EXTERNAL_TOOLCHAIN`` variable in your ``local.conf`` file
19 to the location in which you installed the toolchain.
20
21A good example of an external toolchain used with the Yocto Project is
22Mentor Graphics Sourcery G++ Toolchain. You can see information on how
23to use that particular layer in the ``README`` file at
24https://github.com/MentorEmbedded/meta-sourcery/. You can find
25further information by reading about the
26:term:`TCMODE` variable in the Yocto
27Project Reference Manual's variable glossary.
28