Jelajahi Sumber

adt-manual: Updated the build toolchain section with more detail.

Fixes [YOCTO #8368]

Apparently there is confusion on how to build a cross-toolchain
using Eclipse and the Yocto plug-in.  Specifically on setting
the MACHINE variable, the bblayers.conf stuff, and the
preferences in Eclipse to find things.  I added a couple key
things to the section that describes using the OpenEmbedded
build system to build out the toolchain.

(From yocto-docs rev: 68c399e2560600cb3a5951c93d51e2cf1f610ff9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scott Rifenbark 9 tahun lalu
induk
melakukan
3d82046fbf
1 mengubah file dengan 15 tambahan dan 0 penghapusan
  1. 15 0
      documentation/adt-manual/adt-prepare.xml

+ 15 - 0
documentation/adt-manual/adt-prepare.xml

@@ -364,6 +364,10 @@
                     Comments within the <filename>local.conf</filename> file
                     list the values you can use for the
                     <filename>MACHINE</filename> variable.
+                    If you do not change the <filename>MACHINE</filename>
+                    variable, the OpenEmbedded build system uses
+                    <filename>qemux86</filename> as the default target
+                    machine when building the cross-toolchain.
                     <note>
                         You can populate the Build Directory with the
                         cross-toolchains for more than a single architecture.
@@ -371,6 +375,17 @@
                         variable in the <filename>local.conf</filename> file and
                         re-run the <filename>bitbake</filename> command.
                     </note></para></listitem>
+                <listitem><para><emphasis>Make Sure Your Layers are Enabled:</emphasis>
+                    Examine the <filename>conf/bblayers.conf</filename> file
+                    and make sure that you have enabled all the compatible
+                    layers for your target machine.
+                    The OpenEmbedded build system needs to be aware of each
+                    layer you want included when building images and
+                    cross-toolchains.
+                    For information on how to enable a layer, see the
+                    "<ulink url='&YOCTO_DOCS_DEV_URL;#enabling-your-layer'>Enabling Your Layer</ulink>"
+                    section in the Yocto Project Development Manual.
+                    </para></listitem>
                 <listitem><para><emphasis>Generate the Cross-Toolchain:</emphasis>
                     Run <filename>bitbake meta-ide-support</filename> to
                     complete the cross-toolchain generation.