adt-manual: Minor edits to Chapter 4
Broke up the introductory paragraph a bit because it was one large chunk of text. Added the release variable to specify the directory in which to find the environment setup script for the toolchain. (From yocto-docs rev: 82f4a35fa29526fcfa4041c410b52f9c87ec939a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a508060fe4
commit
195266be34
|
@ -8,23 +8,32 @@
|
||||||
<para>
|
<para>
|
||||||
Recall that earlier the manual discussed how to use an existing toolchain
|
Recall that earlier the manual discussed how to use an existing toolchain
|
||||||
tarball that had been installed into the default installation
|
tarball that had been installed into the default installation
|
||||||
directory, <filename>/opt/poky</filename>, which is outside of the
|
directory, <filename>/opt/poky/&DISTRO;</filename>, which is outside of the
|
||||||
<ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>
|
<ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>
|
||||||
(see the section "<link linkend='using-an-existing-toolchain-tarball'>Using a Cross-Toolchain Tarball)</link>".
|
(see the section "<link linkend='using-an-existing-toolchain-tarball'>Using a Cross-Toolchain Tarball)</link>".
|
||||||
And, that sourcing your architecture-specific environment setup script
|
And, that sourcing your architecture-specific environment setup script
|
||||||
initializes a suitable cross-toolchain development environment.
|
initializes a suitable cross-toolchain development environment.
|
||||||
During the setup, locations for the compiler, QEMU scripts, QEMU binary,
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
During this setup, locations for the compiler, QEMU scripts, QEMU binary,
|
||||||
a special version of <filename>pkgconfig</filename> and other useful
|
a special version of <filename>pkgconfig</filename> and other useful
|
||||||
utilities are added to the <filename>PATH</filename> variable.
|
utilities are added to the <filename>PATH</filename> variable.
|
||||||
Variables to assist <filename>pkgconfig</filename> and <filename>autotools</filename>
|
Also, variables to assist
|
||||||
are also defined so that,
|
<filename>pkgconfig</filename> and <filename>autotools</filename>
|
||||||
for example, <filename>configure.sh</filename> can find pre-generated
|
are also defined so that, for example, <filename>configure.sh</filename>
|
||||||
test results for tests that need target hardware on which to run.
|
can find pre-generated test results for tests that need target hardware
|
||||||
These conditions allow you to easily use the toolchain outside of the
|
on which to run.
|
||||||
OpenEmbedded build environment on both autotools-based projects and
|
|
||||||
Makefile-based projects.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Collectively, these conditions allow you to easily use the toolchain
|
||||||
|
outside of the OpenEmbedded build environment on both autotools-based
|
||||||
|
projects and Makefile-based projects.
|
||||||
|
This chapter provides information for both these types of projects.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<section id='autotools-based-projects'>
|
<section id='autotools-based-projects'>
|
||||||
<title>Autotools-Based Projects</title>
|
<title>Autotools-Based Projects</title>
|
||||||
|
|
||||||
|
@ -179,7 +188,7 @@
|
||||||
If <filename>configure</filename> script results in problems recognizing the
|
If <filename>configure</filename> script results in problems recognizing the
|
||||||
<filename>--with-libtool-sysroot=<sysroot-dir></filename> option,
|
<filename>--with-libtool-sysroot=<sysroot-dir></filename> option,
|
||||||
regenerate the script to enable the support by doing the following and then
|
regenerate the script to enable the support by doing the following and then
|
||||||
re-running the script:
|
run the script again:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ libtoolize --automake
|
$ libtoolize --automake
|
||||||
$ aclocal -I ${OECORE_NATIVE_SYSROOT}/usr/share/aclocal \
|
$ aclocal -I ${OECORE_NATIVE_SYSROOT}/usr/share/aclocal \
|
||||||
|
|
Loading…
Reference in New Issue