summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorBELHADJ SALEM Talel <bhstalel@gmail.com>2023-10-20 10:41:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-20 15:07:07 +0100
commitcfa44584220048ed055c9f50133b6e2fb0368a79 (patch)
tree78da561b3de52e3a054337cc899c40d2a01085d8 /documentation/ref-manual
parentf20b3d92eb1392f198187a86584483c917b8add9 (diff)
downloadpoky-cfa44584220048ed055c9f50133b6e2fb0368a79.tar.gz
ref-manual: variables: add TOOLCHAIN_OPTIONS variable
(From yocto-docs rev: 6f7bd97a6d3d6d8cfd149a7e07df35da4141e650) Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/variables.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 097a5fac5c..0fff292ad1 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -9135,6 +9135,16 @@ system and gives an overview of their function and contents.
9135 portion of an eSDK. This is similar to :term:`TOOLCHAIN_HOST_TASK` 9135 portion of an eSDK. This is similar to :term:`TOOLCHAIN_HOST_TASK`
9136 applying to SDKs. 9136 applying to SDKs.
9137 9137
9138 :term:`TOOLCHAIN_OPTIONS`
9139 This variable holds extra options passed to the compiler and the linker
9140 for non ``-native`` recipes as they have to point to their custom
9141 ``sysroot`` folder pointed to by :term:`RECIPE_SYSROOT`::
9142
9143 TOOLCHAIN_OPTIONS = " --sysroot=${RECIPE_SYSROOT}"
9144
9145 Native recipes don't need this variable to be set, as they are
9146 built for the host machine with the native compiler.
9147
9138 :term:`TOOLCHAIN_OUTPUTNAME` 9148 :term:`TOOLCHAIN_OUTPUTNAME`
9139 This variable defines the name used for the toolchain output. The 9149 This variable defines the name used for the toolchain output. The
9140 :ref:`populate_sdk_base <ref-classes-populate-sdk-*>` class sets 9150 :ref:`populate_sdk_base <ref-classes-populate-sdk-*>` class sets