mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
39e586db8e
commit
c8e07b41da
@@ -1010,7 +1010,8 @@
|
|||||||
<listitem><para><emphasis>
|
<listitem><para><emphasis>
|
||||||
<filename>Build System Derived Toolchain:</filename></emphasis>
|
<filename>Build System Derived Toolchain:</filename></emphasis>
|
||||||
Select this mode if the cross-toolchain has been installed and built
|
Select this mode if the cross-toolchain has been installed and built
|
||||||
as part of the Build Directory.
|
as part of the
|
||||||
|
<link linkend='build-directory'>Build Directory</link>.
|
||||||
When you select <filename>Build system derived toolchain</filename>,
|
When you select <filename>Build system derived toolchain</filename>,
|
||||||
you are using the toolchain bundled
|
you are using the toolchain bundled
|
||||||
inside the Build Directory.
|
inside the Build Directory.
|
||||||
@@ -1019,33 +1020,35 @@
|
|||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis>Point to the Toolchain:</emphasis>
|
<listitem><para><emphasis>Point to the Toolchain:</emphasis>
|
||||||
If you are using a stand-alone pre-built toolchain, you should be pointing to the
|
If you are using a stand-alone pre-built toolchain, you should be pointing to the
|
||||||
<filename>&YOCTO_ADTPATH_DIR;</filename> directory.
|
where it is installed.
|
||||||
This is the location for toolchains installed by the ADT Installer or by hand.
|
If you used the ADT Installer script and accepted the default
|
||||||
|
installation directory, the toolchain will be installed in
|
||||||
|
the <filename>&YOCTO_ADTPATH_DIR;</filename> directory.
|
||||||
Sections "<ulink url='&YOCTO_DOCS_ADT_URL;#configuring-and-running-the-adt-installer-script'>Configuring
|
Sections "<ulink url='&YOCTO_DOCS_ADT_URL;#configuring-and-running-the-adt-installer-script'>Configuring
|
||||||
and Running the ADT Installer Script</ulink>" and
|
and Running the ADT Installer Script</ulink>" and
|
||||||
"<ulink url='&YOCTO_DOCS_ADT_URL;#using-an-existing-toolchain-tarball'>Using a Cross-Toolchain Tarball</ulink>"
|
"<ulink url='&YOCTO_DOCS_ADT_URL;#using-an-existing-toolchain-tarball'>Using a Cross-Toolchain Tarball</ulink>"
|
||||||
in the Yocto Project Application Developer's Guide
|
in the Yocto Project Application Developer's Guide
|
||||||
describe two ways to install a stand-alone cross-toolchain in the
|
describe how to install a stand-alone cross-toolchain.</para>
|
||||||
<filename>/opt/poky</filename> directory.
|
|
||||||
<note>It is possible to install a stand-alone cross-toolchain in a directory
|
|
||||||
other than <filename>/opt/poky</filename>.
|
|
||||||
However, doing so is discouraged.</note></para>
|
|
||||||
<para>If you are using a system-derived toolchain, the path you provide
|
<para>If you are using a system-derived toolchain, the path you provide
|
||||||
for the <filename>Toolchain Root Location</filename>
|
for the <filename>Toolchain Root Location</filename>
|
||||||
field is the Build Directory.
|
field is the <link linkend='build-directory'>Build Directory</link>.
|
||||||
See the "<ulink url='&YOCTO_DOCS_ADT_URL;#using-the-toolchain-from-within-the-build-tree'>Using
|
See the "<ulink url='&YOCTO_DOCS_ADT_URL;#using-the-toolchain-from-within-the-build-tree'>Using
|
||||||
BitBake and the Build Directory</ulink>" section in the Yocto Project Application
|
BitBake and the Build Directory</ulink>" section in the Yocto Project Application
|
||||||
Developer's Guide for information on how to install the toolchain into the build
|
Developer's Guide for information on how to install
|
||||||
directory.</para></listitem>
|
the toolchain into the Build Directory.</para></listitem>
|
||||||
<listitem><para><emphasis>Specify the Sysroot Location:</emphasis>
|
<listitem><para><emphasis>Specify the Sysroot Location:</emphasis>
|
||||||
This location is where the root filesystem for the target hardware resides.
|
This location is where the root filesystem for the target hardware resides.
|
||||||
If you used the ADT Installer, then the location is
|
If you used the ADT Installer script and accepted the
|
||||||
|
default installation directory, then the location is
|
||||||
<filename>/opt/poky/<release></filename>.
|
<filename>/opt/poky/<release></filename>.
|
||||||
Additionally, when you use the ADT Installer, the same location is used for
|
Additionally, when you use the ADT Installer script,
|
||||||
|
the same location is used for
|
||||||
the QEMU user-space tools and the NFS boot process.</para>
|
the QEMU user-space tools and the NFS boot process.</para>
|
||||||
<para>If you used either of the other two methods to install the toolchain, then the
|
<para>If you used either of the other two methods to
|
||||||
|
install the toolchain or did not accept the ADT Installer
|
||||||
|
script's default installation directory, then the
|
||||||
location of the sysroot filesystem depends on where you separately
|
location of the sysroot filesystem depends on where you separately
|
||||||
extracted and intalled the filesystem.</para>
|
extracted and installed the filesystem.</para>
|
||||||
<para>For information on how to install the toolchain and on how to extract
|
<para>For information on how to install the toolchain and on how to extract
|
||||||
and install the sysroot filesystem, see the
|
and install the sysroot filesystem, see the
|
||||||
"<ulink url='&YOCTO_DOCS_ADT_URL;#installing-the-adt'>Installing the ADT and Toolchains</ulink>" section.
|
"<ulink url='&YOCTO_DOCS_ADT_URL;#installing-the-adt'>Installing the ADT and Toolchains</ulink>" section.
|
||||||
|
|||||||
Reference in New Issue
Block a user