diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-03-31 17:04:49 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-03 16:28:34 +0100 |
commit | c9dc70134270831b7821885c689c86dc694e6fa5 (patch) | |
tree | a79dde06f80268896f01792a0a8d83dfc9ee4f7a /documentation | |
parent | a9f85a1894f80ff4fdb0b6ed9a19e7b5fd97467e (diff) | |
download | poky-c9dc70134270831b7821885c689c86dc694e6fa5.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: 8f070b788c9cd6cc16e03505d978177b4c82de03)
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: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-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 43f7431995..936db2178f 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -3698,6 +3698,20 @@ system and gives an overview of their function and contents. | |||
3698 | - mips | 3698 | - mips |
3699 | - mipsel | 3699 | - mipsel |
3700 | 3700 | ||
3701 | :term:`HOST_AS_ARCH` | ||
3702 | Specifies architecture-specific assembler flags. | ||
3703 | |||
3704 | Default initialization for :term:`HOST_AS_ARCH` varies depending on what | ||
3705 | is being built: | ||
3706 | |||
3707 | - :term:`TARGET_AS_ARCH` when building for the | ||
3708 | target | ||
3709 | |||
3710 | - :term:`BUILD_AS_ARCH` when building for the build host (i.e. | ||
3711 | ``-native``) | ||
3712 | |||
3713 | - :term:`SDK_AS_ARCH` when building for an SDK (i.e. ``nativesdk-``) | ||
3714 | |||
3701 | :term:`HOST_CC_ARCH` | 3715 | :term:`HOST_CC_ARCH` |
3702 | Specifies architecture-specific compiler flags that are passed to the | 3716 | Specifies architecture-specific compiler flags that are passed to the |
3703 | C compiler. | 3717 | C compiler. |
@@ -3714,6 +3728,19 @@ system and gives an overview of their function and contents. | |||
3714 | - ``BUILDSDK_CC_ARCH`` when building for an SDK (i.e. | 3728 | - ``BUILDSDK_CC_ARCH`` when building for an SDK (i.e. |
3715 | ``nativesdk-``) | 3729 | ``nativesdk-``) |
3716 | 3730 | ||
3731 | :term:`HOST_LD_ARCH` | ||
3732 | Specifies architecture-specific linker flags. | ||
3733 | |||
3734 | Default initialization for :term:`HOST_LD_ARCH` varies depending on what | ||
3735 | is being built: | ||
3736 | |||
3737 | - :term:`TARGET_LD_ARCH` when building for the target | ||
3738 | |||
3739 | - :term:`BUILD_LD_ARCH` when building for the build host (i.e. | ||
3740 | ``-native``) | ||
3741 | |||
3742 | - :term:`SDK_LD_ARCH` when building for an SDK (i.e. ``nativesdk-``) | ||
3743 | |||
3717 | :term:`HOST_OS` | 3744 | :term:`HOST_OS` |
3718 | Specifies the name of the target operating system, which is normally | 3745 | Specifies the name of the target operating system, which is normally |
3719 | the same as the :term:`TARGET_OS`. The variable can | 3746 | the same as the :term:`TARGET_OS`. The variable can |