summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-03-31 17:04:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-25 12:37:57 +0100
commit293f96d1ac9654129da75c09b2cf7eb94e8b71c1 (patch)
tree527dd3df820b7e4f31eaa3c399f86db86ad89d43 /documentation
parent883ce3714383a71e9f0cbf41b3c0cb92d1cd93ea (diff)
downloadpoky-293f96d1ac9654129da75c09b2cf7eb94e8b71c1.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: cfc7bce0b7368a6ecfaef7c7df6222f1a6076e9b) 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.rst27
1 files changed, 27 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 9c3bf374c8..263afcb0d5 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -3585,6 +3585,20 @@ system and gives an overview of their function and contents.
3585 - mips 3585 - mips
3586 - mipsel 3586 - mipsel
3587 3587
3588 :term:`HOST_AS_ARCH`
3589 Specifies architecture-specific assembler flags.
3590
3591 Default initialization for :term:`HOST_AS_ARCH` varies depending on what
3592 is being built:
3593
3594 - :term:`TARGET_AS_ARCH` when building for the
3595 target
3596
3597 - :term:`BUILD_AS_ARCH` when building for the build host (i.e.
3598 ``-native``)
3599
3600 - :term:`SDK_AS_ARCH` when building for an SDK (i.e. ``nativesdk-``)
3601
3588 :term:`HOST_CC_ARCH` 3602 :term:`HOST_CC_ARCH`
3589 Specifies architecture-specific compiler flags that are passed to the 3603 Specifies architecture-specific compiler flags that are passed to the
3590 C compiler. 3604 C compiler.
@@ -3601,6 +3615,19 @@ system and gives an overview of their function and contents.
3601 - ``BUILDSDK_CC_ARCH`` when building for an SDK (i.e. 3615 - ``BUILDSDK_CC_ARCH`` when building for an SDK (i.e.
3602 ``nativesdk-``) 3616 ``nativesdk-``)
3603 3617
3618 :term:`HOST_LD_ARCH`
3619 Specifies architecture-specific linker flags.
3620
3621 Default initialization for :term:`HOST_LD_ARCH` varies depending on what
3622 is being built:
3623
3624 - :term:`TARGET_LD_ARCH` when building for the target
3625
3626 - :term:`BUILD_LD_ARCH` when building for the build host (i.e.
3627 ``-native``)
3628
3629 - :term:`SDK_LD_ARCH` when building for an SDK (i.e. ``nativesdk-``)
3630
3604 :term:`HOST_OS` 3631 :term:`HOST_OS`
3605 Specifies the name of the target operating system, which is normally 3632 Specifies the name of the target operating system, which is normally
3606 the same as the :term:`TARGET_OS`. The variable can 3633 the same as the :term:`TARGET_OS`. The variable can