summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBELHADJ SALEM Talel <bhstalel@gmail.com>2023-10-20 10:41:01 +0100
committerSteve Sakoman <steve@sakoman.com>2023-10-25 04:45:51 -1000
commitbdea205855f2ff4c4bea0e02e155c96620902a0b (patch)
treea5d8dfe699c408579ca31a31ae13573c22c68821
parentbf5e50a353932a5621e0fb1fb4ddcfc30537b731 (diff)
downloadpoky-bdea205855f2ff4c4bea0e02e155c96620902a0b.tar.gz
ref-manual: variables: add TOOLCHAIN_OPTIONS variable
(From yocto-docs rev: d7397a985fa085b4ca97aaebedfec5fcaf4e82de) Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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 517c35d032..87081d94b9 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -8508,6 +8508,16 @@ system and gives an overview of their function and contents.
8508 portion of an eSDK. This is similar to :term:`TOOLCHAIN_HOST_TASK` 8508 portion of an eSDK. This is similar to :term:`TOOLCHAIN_HOST_TASK`
8509 applying to SDKs. 8509 applying to SDKs.
8510 8510
8511 :term:`TOOLCHAIN_OPTIONS`
8512 This variable holds extra options passed to the compiler and the linker
8513 for non ``-native`` recipes as they have to point to their custom
8514 ``sysroot`` folder pointed to by :term:`RECIPE_SYSROOT`::
8515
8516 TOOLCHAIN_OPTIONS = " --sysroot=${RECIPE_SYSROOT}"
8517
8518 Native recipes don't need this variable to be set, as they are
8519 built for the host machine with the native compiler.
8520
8511 :term:`TOOLCHAIN_OUTPUTNAME` 8521 :term:`TOOLCHAIN_OUTPUTNAME`
8512 This variable defines the name used for the toolchain output. The 8522 This variable defines the name used for the toolchain output. The
8513 :ref:`populate_sdk_base <ref-classes-populate-sdk-*>` class sets 8523 :ref:`populate_sdk_base <ref-classes-populate-sdk-*>` class sets