diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-04-10 13:20:35 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-11 12:22:31 +0100 |
commit | 4bb9b85632221c6841760a8d516d0ba217c9202b (patch) | |
tree | 7e3f18bd7a18efc89a9828c99da704508ade4f9c /documentation/dev-manual/dev-manual-model.xml | |
parent | cd18e0e97be1c5061f649baa9cd155c3068d74ea (diff) | |
download | poky-4bb9b85632221c6841760a8d516d0ba217c9202b.tar.gz |
dev-manual: Configuring the Cross-Compiler Options" section.
(From yocto-docs rev: b301486fe522a519fa743975fd229ab9060cf0c8)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-model.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-model.xml | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index ffe021a4f6..d32b0dd78a 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml | |||
@@ -1010,7 +1010,8 @@ | |||
1010 | <listitem><para><emphasis> | 1010 | <listitem><para><emphasis> |
1011 | <filename>Build System Derived Toolchain:</filename></emphasis> | 1011 | <filename>Build System Derived Toolchain:</filename></emphasis> |
1012 | Select this mode if the cross-toolchain has been installed and built | 1012 | Select this mode if the cross-toolchain has been installed and built |
1013 | as part of the Build Directory. | 1013 | as part of the |
1014 | <link linkend='build-directory'>Build Directory</link>. | ||
1014 | When you select <filename>Build system derived toolchain</filename>, | 1015 | When you select <filename>Build system derived toolchain</filename>, |
1015 | you are using the toolchain bundled | 1016 | you are using the toolchain bundled |
1016 | inside the Build Directory. | 1017 | inside the Build Directory. |
@@ -1019,33 +1020,35 @@ | |||
1019 | </para></listitem> | 1020 | </para></listitem> |
1020 | <listitem><para><emphasis>Point to the Toolchain:</emphasis> | 1021 | <listitem><para><emphasis>Point to the Toolchain:</emphasis> |
1021 | If you are using a stand-alone pre-built toolchain, you should be pointing to the | 1022 | If you are using a stand-alone pre-built toolchain, you should be pointing to the |
1022 | <filename>&YOCTO_ADTPATH_DIR;</filename> directory. | 1023 | where it is installed. |
1023 | This is the location for toolchains installed by the ADT Installer or by hand. | 1024 | If you used the ADT Installer script and accepted the default |
1025 | installation directory, the toolchain will be installed in | ||
1026 | the <filename>&YOCTO_ADTPATH_DIR;</filename> directory. | ||
1024 | Sections "<ulink url='&YOCTO_DOCS_ADT_URL;#configuring-and-running-the-adt-installer-script'>Configuring | 1027 | Sections "<ulink url='&YOCTO_DOCS_ADT_URL;#configuring-and-running-the-adt-installer-script'>Configuring |
1025 | and Running the ADT Installer Script</ulink>" and | 1028 | and Running the ADT Installer Script</ulink>" and |
1026 | "<ulink url='&YOCTO_DOCS_ADT_URL;#using-an-existing-toolchain-tarball'>Using a Cross-Toolchain Tarball</ulink>" | 1029 | "<ulink url='&YOCTO_DOCS_ADT_URL;#using-an-existing-toolchain-tarball'>Using a Cross-Toolchain Tarball</ulink>" |
1027 | in the Yocto Project Application Developer's Guide | 1030 | in the Yocto Project Application Developer's Guide |
1028 | describe two ways to install a stand-alone cross-toolchain in the | 1031 | describe how to install a stand-alone cross-toolchain.</para> |
1029 | <filename>/opt/poky</filename> directory. | ||
1030 | <note>It is possible to install a stand-alone cross-toolchain in a directory | ||
1031 | other than <filename>/opt/poky</filename>. | ||
1032 | However, doing so is discouraged.</note></para> | ||
1033 | <para>If you are using a system-derived toolchain, the path you provide | 1032 | <para>If you are using a system-derived toolchain, the path you provide |
1034 | for the <filename>Toolchain Root Location</filename> | 1033 | for the <filename>Toolchain Root Location</filename> |
1035 | field is the Build Directory. | 1034 | field is the <link linkend='build-directory'>Build Directory</link>. |
1036 | See the "<ulink url='&YOCTO_DOCS_ADT_URL;#using-the-toolchain-from-within-the-build-tree'>Using | 1035 | See the "<ulink url='&YOCTO_DOCS_ADT_URL;#using-the-toolchain-from-within-the-build-tree'>Using |
1037 | BitBake and the Build Directory</ulink>" section in the Yocto Project Application | 1036 | BitBake and the Build Directory</ulink>" section in the Yocto Project Application |
1038 | Developer's Guide for information on how to install the toolchain into the build | 1037 | Developer's Guide for information on how to install |
1039 | directory.</para></listitem> | 1038 | the toolchain into the Build Directory.</para></listitem> |
1040 | <listitem><para><emphasis>Specify the Sysroot Location:</emphasis> | 1039 | <listitem><para><emphasis>Specify the Sysroot Location:</emphasis> |
1041 | This location is where the root filesystem for the target hardware resides. | 1040 | This location is where the root filesystem for the target hardware resides. |
1042 | If you used the ADT Installer, then the location is | 1041 | If you used the ADT Installer script and accepted the |
1042 | default installation directory, then the location is | ||
1043 | <filename>/opt/poky/<release></filename>. | 1043 | <filename>/opt/poky/<release></filename>. |
1044 | Additionally, when you use the ADT Installer, the same location is used for | 1044 | Additionally, when you use the ADT Installer script, |
1045 | the same location is used for | ||
1045 | the QEMU user-space tools and the NFS boot process.</para> | 1046 | the QEMU user-space tools and the NFS boot process.</para> |
1046 | <para>If you used either of the other two methods to install the toolchain, then the | 1047 | <para>If you used either of the other two methods to |
1048 | install the toolchain or did not accept the ADT Installer | ||
1049 | script's default installation directory, then the | ||
1047 | location of the sysroot filesystem depends on where you separately | 1050 | location of the sysroot filesystem depends on where you separately |
1048 | extracted and intalled the filesystem.</para> | 1051 | extracted and installed the filesystem.</para> |
1049 | <para>For information on how to install the toolchain and on how to extract | 1052 | <para>For information on how to install the toolchain and on how to extract |
1050 | and install the sysroot filesystem, see the | 1053 | and install the sysroot filesystem, see the |
1051 | "<ulink url='&YOCTO_DOCS_ADT_URL;#installing-the-adt'>Installing the ADT and Toolchains</ulink>" section. | 1054 | "<ulink url='&YOCTO_DOCS_ADT_URL;#installing-the-adt'>Installing the ADT and Toolchains</ulink>" section. |