diff options
author | BELHADJ SALEM Talel <bhstalel@gmail.com> | 2023-10-20 10:41:01 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-10-25 04:51:01 -1000 |
commit | 7a43e961796b0f1d4ba9f6e0f812a1dcbcf31fff (patch) | |
tree | 3b791f3a4e1bf2809e2371ad27760548c1f228d1 | |
parent | 90499aafb504c638a13fd59123c7ac7304bd59e8 (diff) | |
download | poky-7a43e961796b0f1d4ba9f6e0f812a1dcbcf31fff.tar.gz |
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>
-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 a8752f5ca8..9f3a67c64f 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -8931,6 +8931,16 @@ system and gives an overview of their function and contents. | |||
8931 | portion of an eSDK. This is similar to :term:`TOOLCHAIN_HOST_TASK` | 8931 | portion of an eSDK. This is similar to :term:`TOOLCHAIN_HOST_TASK` |
8932 | applying to SDKs. | 8932 | applying to SDKs. |
8933 | 8933 | ||
8934 | :term:`TOOLCHAIN_OPTIONS` | ||
8935 | This variable holds extra options passed to the compiler and the linker | ||
8936 | for non ``-native`` recipes as they have to point to their custom | ||
8937 | ``sysroot`` folder pointed to by :term:`RECIPE_SYSROOT`:: | ||
8938 | |||
8939 | TOOLCHAIN_OPTIONS = " --sysroot=${RECIPE_SYSROOT}" | ||
8940 | |||
8941 | Native recipes don't need this variable to be set, as they are | ||
8942 | built for the host machine with the native compiler. | ||
8943 | |||
8934 | :term:`TOOLCHAIN_OUTPUTNAME` | 8944 | :term:`TOOLCHAIN_OUTPUTNAME` |
8935 | This variable defines the name used for the toolchain output. The | 8945 | This variable defines the name used for the toolchain output. The |
8936 | :ref:`populate_sdk_base <ref-classes-populate-sdk-*>` class sets | 8946 | :ref:`populate_sdk_base <ref-classes-populate-sdk-*>` class sets |