1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

ref-manual: variables: add TOOLCHAIN_OPTIONS variable

(From yocto-docs rev: c69126b44157a13ad2c7e69be65a7f6730c22690)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
BELHADJ SALEM Talel
2023-10-20 10:41:01 +01:00
committed by Steve Sakoman
parent 90499aafb5
commit 7a43e96179
+10
View File
@@ -8931,6 +8931,16 @@ system and gives an overview of their function and contents.
portion of an eSDK. This is similar to :term:`TOOLCHAIN_HOST_TASK`
applying to SDKs.
:term:`TOOLCHAIN_OPTIONS`
This variable holds extra options passed to the compiler and the linker
for non ``-native`` recipes as they have to point to their custom
``sysroot`` folder pointed to by :term:`RECIPE_SYSROOT`::
TOOLCHAIN_OPTIONS = " --sysroot=${RECIPE_SYSROOT}"
Native recipes don't need this variable to be set, as they are
built for the host machine with the native compiler.
:term:`TOOLCHAIN_OUTPUTNAME`
This variable defines the name used for the toolchain output. The
:ref:`populate_sdk_base <ref-classes-populate-sdk-*>` class sets