summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-03-31 17:04:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-25 12:37:57 +0100
commit883ce3714383a71e9f0cbf41b3c0cb92d1cd93ea (patch)
treee29a3723417e77fc3c4637ab23076c935c664017
parent45533863966ee6e6776c033381800f649425fb6c (diff)
downloadpoky-883ce3714383a71e9f0cbf41b3c0cb92d1cd93ea.tar.gz
ref-manual/variables.rst: document missing SDK_*_ARCH variables
These variables control the flags for the assembler, compiler and linker when building for nativesdk recipes. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 028bdce97d62e200e032da6d0c54c0c4109e5a97) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit c08f6d3c8aee86264c069b7c30850cb02de76076) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/variables.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 02a4d7b8fd..9c3bf374c8 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -7719,11 +7719,21 @@ system and gives an overview of their function and contents.
7719 7719
7720 Only one archive type can be specified. 7720 Only one archive type can be specified.
7721 7721
7722 :term:`SDK_AS_ARCH`
7723 Specifies architecture-specific assembler flags when building
7724 :ref:`ref-classes-nativesdk` recipes. By default, the value of
7725 :term:`SDK_AS_ARCH` equals the one of :term:`BUILD_AS_ARCH`.
7726
7722 :term:`SDK_BUILDINFO_FILE` 7727 :term:`SDK_BUILDINFO_FILE`
7723 When using the :ref:`ref-classes-image-buildinfo` class, 7728 When using the :ref:`ref-classes-image-buildinfo` class,
7724 specifies the file in the SDK to write the build information into. The 7729 specifies the file in the SDK to write the build information into. The
7725 default value is "``/buildinfo``". 7730 default value is "``/buildinfo``".
7726 7731
7732 :term:`SDK_CC_ARCH`
7733 Specifies the architecture-specific C compiler flags when building
7734 :ref:`ref-classes-nativesdk` recipes. By default, the value of
7735 :term:`SDK_CC_ARCH` equals the one of :term:`BUILD_CC_ARCH`.
7736
7727 :term:`SDK_CUSTOM_TEMPLATECONF` 7737 :term:`SDK_CUSTOM_TEMPLATECONF`
7728 When building the extensible SDK, if :term:`SDK_CUSTOM_TEMPLATECONF` is set to 7738 When building the extensible SDK, if :term:`SDK_CUSTOM_TEMPLATECONF` is set to
7729 "1" and a ``conf/templateconf.cfg`` file exists in the :term:`Build Directory` 7739 "1" and a ``conf/templateconf.cfg`` file exists in the :term:`Build Directory`
@@ -7805,6 +7815,11 @@ system and gives an overview of their function and contents.
7805 :term:`SDK_EXT_TYPE` is set to "minimal", and defaults to "1" if 7815 :term:`SDK_EXT_TYPE` is set to "minimal", and defaults to "1" if
7806 :term:`SDK_EXT_TYPE` is set to "full". 7816 :term:`SDK_EXT_TYPE` is set to "full".
7807 7817
7818 :term:`SDK_LD_ARCH`
7819 Specifies architecture-specific linker flags when building
7820 :ref:`ref-classes-nativesdk` recipes. By default, the value of
7821 :term:`SDK_LD_ARCH` equals the one of :term:`BUILD_LD_ARCH`.
7822
7808 :term:`SDK_NAME` 7823 :term:`SDK_NAME`
7809 The base name for SDK output files. The default value (as set in 7824 The base name for SDK output files. The default value (as set in
7810 ``meta-poky/conf/distro/poky.conf``) is derived from the 7825 ``meta-poky/conf/distro/poky.conf``) is derived from the