diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-03-31 17:04:49 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-04-28 08:18:53 -0700 |
commit | d271e51d30c7032be781ad6bc69766b39bce4f7c (patch) | |
tree | 9c0ddf2efe10df1b235b6e47b5f39d7678b41f55 /documentation/ref-manual/variables.rst | |
parent | 65fcbaa89a9febfc0c0e3c5fbc910d649f15c1bb (diff) | |
download | poky-d271e51d30c7032be781ad6bc69766b39bce4f7c.tar.gz |
ref-manual/variables.rst: document HOST_*_ARCH variables
These variables control the flags for the assembler, compiler and
linker, but depend on the context.
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 1520ba47f66c6d51f710005cdd4f4b880eccd5b0)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit f8eb33569a5e8cadc036855e2d95eee77e627cb4)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r-- | documentation/ref-manual/variables.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 575351c6c8..2b9ffa5b7d 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -3572,6 +3572,20 @@ system and gives an overview of their function and contents. | |||
3572 | - mips | 3572 | - mips |
3573 | - mipsel | 3573 | - mipsel |
3574 | 3574 | ||
3575 | :term:`HOST_AS_ARCH` | ||
3576 | Specifies architecture-specific assembler flags. | ||
3577 | |||
3578 | Default initialization for :term:`HOST_AS_ARCH` varies depending on what | ||
3579 | is being built: | ||
3580 | |||
3581 | - :term:`TARGET_AS_ARCH` when building for the | ||
3582 | target | ||
3583 | |||
3584 | - :term:`BUILD_AS_ARCH` when building for the build host (i.e. | ||
3585 | ``-native``) | ||
3586 | |||
3587 | - :term:`SDK_AS_ARCH` when building for an SDK (i.e. ``nativesdk-``) | ||
3588 | |||
3575 | :term:`HOST_CC_ARCH` | 3589 | :term:`HOST_CC_ARCH` |
3576 | Specifies architecture-specific compiler flags that are passed to the | 3590 | Specifies architecture-specific compiler flags that are passed to the |
3577 | C compiler. | 3591 | C compiler. |
@@ -3588,6 +3602,19 @@ system and gives an overview of their function and contents. | |||
3588 | - ``BUILDSDK_CC_ARCH`` when building for an SDK (i.e. | 3602 | - ``BUILDSDK_CC_ARCH`` when building for an SDK (i.e. |
3589 | ``nativesdk-``) | 3603 | ``nativesdk-``) |
3590 | 3604 | ||
3605 | :term:`HOST_LD_ARCH` | ||
3606 | Specifies architecture-specific linker flags. | ||
3607 | |||
3608 | Default initialization for :term:`HOST_LD_ARCH` varies depending on what | ||
3609 | is being built: | ||
3610 | |||
3611 | - :term:`TARGET_LD_ARCH` when building for the target | ||
3612 | |||
3613 | - :term:`BUILD_LD_ARCH` when building for the build host (i.e. | ||
3614 | ``-native``) | ||
3615 | |||
3616 | - :term:`SDK_LD_ARCH` when building for an SDK (i.e. ``nativesdk-``) | ||
3617 | |||
3591 | :term:`HOST_OS` | 3618 | :term:`HOST_OS` |
3592 | Specifies the name of the target operating system, which is normally | 3619 | Specifies the name of the target operating system, which is normally |
3593 | the same as the :term:`TARGET_OS`. The variable can | 3620 | the same as the :term:`TARGET_OS`. The variable can |