diff options
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/variables.rst | 10 |
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 |