mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
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>
This commit is contained in:
committed by
Steve Sakoman
parent
bf5e50a353
commit
bdea205855
@@ -8508,6 +8508,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
|
||||
|
||||
Reference in New Issue
Block a user