diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-10-27 15:24:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-28 15:48:03 +0100 |
commit | 50458d923826ae96deaf799fa7ee1e0584cb57ff (patch) | |
tree | 0aec01dd1bdf4cb07b5a130e1b0d92fcc5f73ea8 | |
parent | 6f4ccc4dad8bee587d19b1cdc8732ad4b3ae63c4 (diff) | |
download | poky-50458d923826ae96deaf799fa7ee1e0584cb57ff.tar.gz |
manuals: add missing references to SDKMACHINE and SDK_ARCH
Doing this, fix the odd identation of the corresponding paragraphs
(From yocto-docs rev: e319b3bf4eb6420949372e699d60c7383945e513)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/overview-manual/concepts.rst | 11 | ||||
-rw-r--r-- | documentation/sdk-manual/appendix-obtain.rst | 17 | ||||
-rw-r--r-- | documentation/test-manual/understand-autobuilder.rst | 2 |
3 files changed, 14 insertions, 16 deletions
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst index 75eb872b32..931bec79e8 100644 --- a/documentation/overview-manual/concepts.rst +++ b/documentation/overview-manual/concepts.rst | |||
@@ -1482,12 +1482,11 @@ relocatable SDK used to develop applications. When you run the | |||
1482 | installer, it installs the toolchain, which contains the development | 1482 | installer, it installs the toolchain, which contains the development |
1483 | tools (e.g., ``gcc-cross-canadian``, ``binutils-cross-canadian``, and | 1483 | tools (e.g., ``gcc-cross-canadian``, ``binutils-cross-canadian``, and |
1484 | other ``nativesdk-*`` tools), which are tools native to the SDK (i.e. | 1484 | other ``nativesdk-*`` tools), which are tools native to the SDK (i.e. |
1485 | native to :term:`SDK_ARCH`), you | 1485 | native to :term:`SDK_ARCH`), you need to cross-compile and test your |
1486 | need to cross-compile and test your software. The figure shows the | 1486 | software. The figure shows the commands you use to easily build out |
1487 | commands you use to easily build out this toolchain. This | 1487 | this toolchain. This cross-development toolchain is built to execute on the |
1488 | cross-development toolchain is built to execute on the | 1488 | :term:`SDKMACHINE`, which might or might not be the same machine as |
1489 | :term:`SDKMACHINE`, which might or | 1489 | the Build Host. |
1490 | might not be the same machine as the Build Host. | ||
1491 | 1490 | ||
1492 | .. note:: | 1491 | .. note:: |
1493 | 1492 | ||
diff --git a/documentation/sdk-manual/appendix-obtain.rst b/documentation/sdk-manual/appendix-obtain.rst index 7a09a83af8..7d62293cd6 100644 --- a/documentation/sdk-manual/appendix-obtain.rst +++ b/documentation/sdk-manual/appendix-obtain.rst | |||
@@ -132,22 +132,21 @@ build the SDK installer. Follow these steps: | |||
132 | 5. *Make Sure Your SDK Machine is Correctly Set:* If you are building a | 132 | 5. *Make Sure Your SDK Machine is Correctly Set:* If you are building a |
133 | toolchain designed to run on an architecture that differs from your | 133 | toolchain designed to run on an architecture that differs from your |
134 | current development host machine (i.e. the build host), be sure that | 134 | current development host machine (i.e. the build host), be sure that |
135 | the :term:`SDKMACHINE` variable | 135 | the :term:`SDKMACHINE` variable in the ``local.conf`` file in your |
136 | in the ``local.conf`` file in your Build Directory is correctly set. | 136 | Build Directory is correctly set. |
137 | 137 | ||
138 | .. note:: | 138 | .. note:: |
139 | 139 | ||
140 | If you are building an SDK installer for the Extensible SDK, the | 140 | If you are building an SDK installer for the Extensible SDK, the |
141 | SDKMACHINE | 141 | :term:`SDKMACHINE` value must be set for the architecture of the |
142 | value must be set for the architecture of the machine you are | 142 | machine you are using to build the installer. If :term:`SDKMACHINE` |
143 | using to build the installer. If | ||
144 | SDKMACHINE | ||
145 | is not set appropriately, the build fails and provides an error | 143 | is not set appropriately, the build fails and provides an error |
146 | message similar to the following:: | 144 | message similar to the following:: |
147 | 145 | ||
148 | The extensible SDK can currently only be built for the same architecture as the machine being built on - SDK_ARCH is | 146 | The extensible SDK can currently only be built for the same |
149 | set to i686 (likely via setting SDKMACHINE) which is different from the architecture of the build machine (x86_64). | 147 | architecture as the machine being built on --- :term:`SDK_ARCH` |
150 | Unable to continue. | 148 | is set to ``i686`` (likely via setting :term:`SDKMACHINE`) which is |
149 | different from the architecture of the build machine (``x86_64``). | ||
151 | 150 | ||
152 | 151 | ||
153 | 6. *Build the SDK Installer:* To build the SDK installer for a standard | 152 | 6. *Build the SDK Installer:* To build the SDK installer for a standard |
diff --git a/documentation/test-manual/understand-autobuilder.rst b/documentation/test-manual/understand-autobuilder.rst index c5e32cfe09..bfd75c81e0 100644 --- a/documentation/test-manual/understand-autobuilder.rst +++ b/documentation/test-manual/understand-autobuilder.rst | |||
@@ -56,7 +56,7 @@ the "templates" section, which looks like:: | |||
56 | 56 | ||
57 | Combining these two entries you can see that "qemux86-64" is a three step build where the | 57 | Combining these two entries you can see that "qemux86-64" is a three step build where the |
58 | ``bitbake BBTARGETS`` would be run, then ``bitbake SANITYTARGETS`` for each step; all for | 58 | ``bitbake BBTARGETS`` would be run, then ``bitbake SANITYTARGETS`` for each step; all for |
59 | ``MACHINE="qemux86-64"`` but with differing SDKMACHINE settings. In step | 59 | ``MACHINE="qemux86-64"`` but with differing :term:`SDKMACHINE` settings. In step |
60 | 1 an extra variable is added to the ``auto.conf`` file to enable wic | 60 | 1 an extra variable is added to the ``auto.conf`` file to enable wic |
61 | image generation. | 61 | image generation. |
62 | 62 | ||