From 3d82046fbf3c25e4d74831af8a8f6f4d3738784e Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 22 Sep 2015 10:32:52 -0700 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- documentation/adt-manual/adt-prepare.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 @@ Comments within the local.conf file list the values you can use for the MACHINE variable. + If you do not change the MACHINE + variable, the OpenEmbedded build system uses + qemux86 as the default target + machine when building the cross-toolchain. You can populate the Build Directory with the cross-toolchains for more than a single architecture. @@ -371,6 +375,17 @@ variable in the local.conf file and re-run the bitbake command. + Make Sure Your Layers are Enabled: + Examine the conf/bblayers.conf 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 + "Enabling Your Layer" + section in the Yocto Project Development Manual. + Generate the Cross-Toolchain: Run bitbake meta-ide-support to complete the cross-toolchain generation.