From d8e26e2b9f8b622d0cef3d3d1392dd0917343ded Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 1 Mar 2013 14:22:44 -0600 Subject: adt-manual: Updates to de-emphasize opt/poky and include sysroot Fixes YOCTO #2645 Several changes to make sure that the default toolchain directory (opt/poky) is understood as the default. I changed some wordings to call it out as the default. Some examples I left alone as they used /opt/poky but I clearly indicated that the example was using the default installation directory. I also updated the note in the manual that talks about alternatively building the toolchain installer. Previously, it mentioned two methods. I have added the third and most significant method that uses bitbake image -c populate_sdk. This method creates a toolchain installer that contains the matching sysroot. (From yocto-docs rev: 2e5eeb7e0c9aa448149cc369572b31dbc1603e28) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/adt-manual/adt-command.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'documentation/adt-manual/adt-command.xml') diff --git a/documentation/adt-manual/adt-command.xml b/documentation/adt-manual/adt-command.xml index e5b2cdb420..18bfb8a829 100644 --- a/documentation/adt-manual/adt-command.xml +++ b/documentation/adt-manual/adt-command.xml @@ -7,8 +7,8 @@ Recall that earlier the manual discussed how to use an existing toolchain - tarball that had been installed into /opt/poky, - which is outside of the + tarball that had been installed into the default installation + directory, /opt/poky, which is outside of the Build Directory (see the section "Using a Cross-Toolchain Tarball)". And, that sourcing your architecture-specific environment setup script @@ -81,13 +81,15 @@ Source the cross-toolchain environment setup file: Installation of the cross-toolchain creates a cross-toolchain - environment setup script in /opt/poky/<release>. + environment setup script in the directory that the ADT + was installed. Before you can use the tools to develop your project, you must source this setup script. The script begins with the string "environment-setup" and contains the machine architecture, which is followed by the string "poky-linux". - Here is an example for an environment setup using the + Here is an example that sources a script from the + default ADT installation directory that uses the 32-bit Intel x86 Architecture and using the &DISTRO_NAME; Yocto Project release: @@ -158,8 +160,7 @@ For an Autotools-based project, you can use the cross-toolchain by just passing the appropriate host option to configure.sh. The host option you use is derived from the name of the environment setup - script in /opt/poky resulting from installation of the - cross-toolchain tarball. + script found in the directory in which you installed the cross-toolchain. For example, the host option for an ARM-based target that uses the GNU EABI is armv5te-poky-linux-gnueabi. You will notice that the name of the script is -- cgit v1.2.3-54-g00ecf