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 14:40:29 +0100
commit6a70a3366d68121b043c413f2e427f208edf15e3 (patch)
tree76fa621ea0c795914357399a560ed0e7ee8b75fa /documentation/ref-manual
parentca1e27016d214e744086c11fdf43ff3e86f48861 (diff)
downloadpoky-6a70a3366d68121b043c413f2e427f208edf15e3.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