diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2015-09-22 10:32:52 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-21 23:06:22 +0100 |
commit | 3d82046fbf3c25e4d74831af8a8f6f4d3738784e (patch) | |
tree | 9af214e846d446342f115229f7384de537438f2b /documentation | |
parent | 54b4aff817c8a498539480457890daf974f4a53d (diff) | |
download | poky-3d82046fbf3c25e4d74831af8a8f6f4d3738784e.tar.gz |
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>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/adt-manual/adt-prepare.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/documentation/adt-manual/adt-prepare.xml b/documentation/adt-manual/adt-prepare.xml index 01f569f805..65df1d03e6 100644 --- a/documentation/adt-manual/adt-prepare.xml +++ b/documentation/adt-manual/adt-prepare.xml | |||
@@ -364,6 +364,10 @@ | |||
364 | Comments within the <filename>local.conf</filename> file | 364 | Comments within the <filename>local.conf</filename> file |
365 | list the values you can use for the | 365 | list the values you can use for the |
366 | <filename>MACHINE</filename> variable. | 366 | <filename>MACHINE</filename> variable. |
367 | If you do not change the <filename>MACHINE</filename> | ||
368 | variable, the OpenEmbedded build system uses | ||
369 | <filename>qemux86</filename> as the default target | ||
370 | machine when building the cross-toolchain. | ||
367 | <note> | 371 | <note> |
368 | You can populate the Build Directory with the | 372 | You can populate the Build Directory with the |
369 | cross-toolchains for more than a single architecture. | 373 | cross-toolchains for more than a single architecture. |
@@ -371,6 +375,17 @@ | |||
371 | variable in the <filename>local.conf</filename> file and | 375 | variable in the <filename>local.conf</filename> file and |
372 | re-run the <filename>bitbake</filename> command. | 376 | re-run the <filename>bitbake</filename> command. |
373 | </note></para></listitem> | 377 | </note></para></listitem> |
378 | <listitem><para><emphasis>Make Sure Your Layers are Enabled:</emphasis> | ||
379 | Examine the <filename>conf/bblayers.conf</filename> file | ||
380 | and make sure that you have enabled all the compatible | ||
381 | layers for your target machine. | ||
382 | The OpenEmbedded build system needs to be aware of each | ||
383 | layer you want included when building images and | ||
384 | cross-toolchains. | ||
385 | For information on how to enable a layer, see the | ||
386 | "<ulink url='&YOCTO_DOCS_DEV_URL;#enabling-your-layer'>Enabling Your Layer</ulink>" | ||
387 | section in the Yocto Project Development Manual. | ||
388 | </para></listitem> | ||
374 | <listitem><para><emphasis>Generate the Cross-Toolchain:</emphasis> | 389 | <listitem><para><emphasis>Generate the Cross-Toolchain:</emphasis> |
375 | Run <filename>bitbake meta-ide-support</filename> to | 390 | Run <filename>bitbake meta-ide-support</filename> to |
376 | complete the cross-toolchain generation. | 391 | complete the cross-toolchain generation. |