diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-12-08 19:10:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-18 10:41:21 +0000 |
commit | 766a44b8e30551fc61b5031129175d207e7ea78b (patch) | |
tree | ff9af597f5cf9ab334f053e1107f0702fd907a94 /documentation/ref-manual/faq.rst | |
parent | 397586e4aebcbd2bc9cbeb595f7d753b22a36edb (diff) | |
download | poky-766a44b8e30551fc61b5031129175d207e7ea78b.tar.gz |
manual: improve documentation about using external toolchains
- Remove the redundant FAQ entry about this topic,
already covered in a specific section of the Development Tasks manual
- Document the TOOLCHAIN_LOCATION variable
- Expand both the Development Tasks manual and
the TCMODE variable description using details from the FAQ entry.
- Mention the "meta-arm-toolchain" layer too.
(From yocto-docs rev: 53faa54a8e6311b4d3d41d96cb1a497d0f6502fb)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/faq.rst')
-rw-r--r-- | documentation/ref-manual/faq.rst | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index 8f38808a78..a3a15506c3 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst | |||
@@ -168,23 +168,8 @@ Using the OpenEmbedded Build system | |||
168 | How do I use an external toolchain? | 168 | How do I use an external toolchain? |
169 | ----------------------------------- | 169 | ----------------------------------- |
170 | 170 | ||
171 | The toolchain configuration is very flexible and customizable. It | 171 | See the ":ref:`dev-manual/external-toolchain:optionally using an external toolchain`" |
172 | is primarily controlled with the :term:`TCMODE` variable. This variable | 172 | section in the Development Task manual. |
173 | controls which ``tcmode-*.inc`` file to include from the | ||
174 | ``meta/conf/distro/include`` directory within the :term:`Source Directory`. | ||
175 | |||
176 | The default value of :term:`TCMODE` is "default", which tells the | ||
177 | OpenEmbedded build system to use its internally built toolchain (i.e. | ||
178 | ``tcmode-default.inc``). However, other patterns are accepted. In | ||
179 | particular, "external-\*" refers to external toolchains. One example is | ||
180 | the Sourcery G++ Toolchain. The support for this toolchain resides in | ||
181 | the separate ``meta-sourcery`` layer at | ||
182 | https://github.com/MentorEmbedded/meta-sourcery/. | ||
183 | |||
184 | In addition to the toolchain configuration, you also need a | ||
185 | corresponding toolchain recipe file. This recipe file needs to package | ||
186 | up any pre-built objects in the toolchain such as ``libgcc``, | ||
187 | ``libstdcc++``, any locales, and ``libc``. | ||
188 | 173 | ||
189 | Why do I get chmod permission issues? | 174 | Why do I get chmod permission issues? |
190 | ------------------------------------- | 175 | ------------------------------------- |