Skip to contentSkip to conversation

ref-manual: improve documentation for SDKMACHINE

PATCH In review Ross Burton 2 participants 2 messages Nov 2, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ref-manual: improve documentation for SDKMACHINE

---
 documentation/ref-manual/variables.rst | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)
documentation/ref-manual/variables.rst +9 -11
index b9e97719b..9eea8081c 100644
@@ -6756,17 +6756,15 @@ system and gives an overview of their function and contents.
          $ bitbake -c populate_sdk imagename
 
    :term:`SDKMACHINE`
-      The machine for which the SDK is built. In other words, the SDK is
-      built such that it runs on the target you specify with the
-      :term:`SDKMACHINE` value. The value points to a corresponding ``.conf``
-      file under ``conf/machine-sdk/``.
-
-      You can use "i686" and "x86_64" as possible values for this variable.
-      The variable defaults to "i686" and is set in the local.conf file in
-      the Build Directory.
-      ::
-
-         SDKMACHINE ?= "i686"
+      The machine for which the SDK is built. In other words, the SDK is built
+      such that it runs on the target you specify with the :term:`SDKMACHINE`
+      value. The value points to a corresponding ``.conf`` file under
+      ``conf/machine-sdk/`` in the enabled layers, for example ``aarch64``,
+      ``i586``, ``i686``, ``ppc64``, ``ppc64le``, and ``x86_64`` are
+      :oe_git:`available in OpenEmbedded-Core </openembedded-core/tree/meta/conf/machine-sdk>`.
+
+      The variable defaults to :term:`BUILD_ARCH` so that SDKs are built for the
+      architecture of the build machine.
 
       .. note::
 
Signature · 1 line
2.25.1
Reviewed-by on v2 1/1
#1 lore raw

Hi Ross,

Quoted 24 lines · Ross Burton
---
 documentation/ref-manual/variables.rst | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)
documentation/ref-manual/variables.rst +0 -11
index b9e97719b..9eea8081c 100644
@@ -6756,17 +6756,15 @@ system and gives an overview of their function and contents.
          $ bitbake -c populate_sdk imagename
 
    :term:`SDKMACHINE`
-      The machine for which the SDK is built. In other words, the SDK is
-      built such that it runs on the target you specify with the
-      :term:`SDKMACHINE` value. The value points to a corresponding ``.conf``
-      file under ``conf/machine-sdk/``.
-
-      You can use "i686" and "x86_64" as possible values for this variable.
-      The variable defaults to "i686" and is set in the local.conf file in
-      the Build Directory.
-      ::
-
-         SDKMACHINE ?= "i686"

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 6768

Quoted 10 lines
documentation/ref-manual/variables.rst +9 -0
+      The machine for which the SDK is built. In other words, the SDK is built
+      such that it runs on the target you specify with the :term:`SDKMACHINE`
+      value. The value points to a corresponding ``.conf`` file under
+      ``conf/machine-sdk/`` in the enabled layers, for example ``aarch64``,
+      ``i586``, ``i686``, ``ppc64``, ``ppc64le``, and ``x86_64`` are
+      :oe_git:`available in OpenEmbedded-Core </openembedded-core/tree/meta/conf/machine-sdk>`.
+
+      The variable defaults to :term:`BUILD_ARCH` so that SDKs are built for the
+      architecture of the build machine.
 

Thanks for the updated patch.

.... and merged into "master-next".

Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com