sdk-manual: Added note in step to set SDKMACHINE

The value of SDKMACHINE must match the architecture of the machine
on which the SDK installer is being built if you are building an
installer for an extensible SDK.  I added a note to this effect.

(From yocto-docs rev: 8720b3ea9e7260f891db1be46fb756aba09d5f51)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2018-07-09 14:05:28 -07:00 committed by Richard Purdie
parent 24a833f40d
commit a3473f32a6

View File

@ -159,6 +159,20 @@
<ulink url='&YOCTO_DOCS_REF_URL;#var-SDKMACHINE'><filename>SDKMACHINE</filename></ulink>
variable in the <filename>local.conf</filename> file in your
Build Directory is correctly set.
<note>
If you are building an SDK installer for the Extensible
SDK, the <filename>SDKMACHINE</filename> value must be
set for the architecture of the machine you are using to
build the installer.
If <filename>SDKMACHINE</filename> is not set appropriately,
the build fails and provides an error message similar to
the following:
<literallayout class='monospaced'>
The extensible SDK can currently only be built for the same architecture as the machine being built on - SDK_ARCH is
set to i686 (likely via setting SDKMACHINE) which is different from the architecture of the build machine (x86_64).
Unable to continue.
</literallayout>
</note>
</para></listitem>
<listitem><para>
<emphasis>Build the SDK Installer:</emphasis>