diff options
Diffstat (limited to 'documentation/dev-manual/external-toolchain.rst')
-rw-r--r-- | documentation/dev-manual/external-toolchain.rst | 28 |
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 | |||
3 | Optionally Using an External Toolchain | ||
4 | ************************************** | ||
5 | |||
6 | You might want to use an external toolchain as part of your development. | ||
7 | If this is the case, the fundamental steps you need to accomplish are as | ||
8 | follows: | ||
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 | |||
21 | A good example of an external toolchain used with the Yocto Project is | ||
22 | Mentor Graphics Sourcery G++ Toolchain. You can see information on how | ||
23 | to use that particular layer in the ``README`` file at | ||
24 | https://github.com/MentorEmbedded/meta-sourcery/. You can find | ||
25 | further information by reading about the | ||
26 | :term:`TCMODE` variable in the Yocto | ||
27 | Project Reference Manual's variable glossary. | ||
28 | |||