mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
sdk-manual: Updates to the "Using SDK Toolchain Directly" chapter
Some minor updates here. Mainly, bring a list into conformance for use of capitalization in the bolded item heads. (From yocto-docs rev: a9c9bb36caa146b0ff8338cb1fad850d75a64997) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c847ddc104
commit
95e451e748
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
You can use the SDK toolchain directly with Makefile,
|
You can use the SDK toolchain directly with Makefile,
|
||||||
Autotools, and <trademark class='trade'>Eclipse</trademark> based
|
Autotools, and <trademark class='trade'>Eclipse</trademark>-based
|
||||||
projects.
|
projects.
|
||||||
This chapter covers the first two, while the
|
This chapter covers the first two, while the
|
||||||
"<link linkend='sdk-eclipse-project'>Developing Applications Using <trademark class='trade'>Eclipse</trademark></link>"
|
"<link linkend='sdk-eclipse-project'>Developing Applications Using <trademark class='trade'>Eclipse</trademark></link>"
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
Follow these steps to create a simple Autotools-based project:
|
Follow these steps to create a simple Autotools-based project:
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Create your directory:</emphasis>
|
<emphasis>Create Your Directory:</emphasis>
|
||||||
Create a clean directory for your project and then make
|
Create a clean directory for your project and then make
|
||||||
that directory your working location:
|
that directory your working location:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Populate the directory:</emphasis>
|
<emphasis>Populate the Directory:</emphasis>
|
||||||
Create <filename>hello.c</filename>,
|
Create <filename>hello.c</filename>,
|
||||||
<filename>Makefile.am</filename>,
|
<filename>Makefile.am</filename>,
|
||||||
and <filename>configure.ac</filename> files as follows:
|
and <filename>configure.ac</filename> files as follows:
|
||||||
@@ -80,8 +80,8 @@
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Source the cross-toolchain
|
<emphasis>Source the Cross-Toolchain
|
||||||
environment setup file:</emphasis>
|
Environment Setup File:</emphasis>
|
||||||
As described earlier in the manual, installing the
|
As described earlier in the manual, installing the
|
||||||
cross-toolchain creates a cross-toolchain
|
cross-toolchain creates a cross-toolchain
|
||||||
environment setup script in the directory that the SDK
|
environment setup script in the directory that the SDK
|
||||||
@@ -100,8 +100,8 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Generate the local aclocal.m4
|
<emphasis>Generate the Local <filename>aclocal.m4</filename>
|
||||||
files and create the configure script:</emphasis>
|
Files and Create the Configure Script:</emphasis>
|
||||||
The following GNU Autotools generate the local
|
The following GNU Autotools generate the local
|
||||||
<filename>aclocal.m4</filename> files and create the
|
<filename>aclocal.m4</filename> files and create the
|
||||||
configure script:
|
configure script:
|
||||||
@@ -111,8 +111,8 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Generate files needed by GNU coding
|
<emphasis>Generate Files Needed by GNU Coding
|
||||||
standards:</emphasis>
|
Standards:</emphasis>
|
||||||
GNU coding standards require certain files in order
|
GNU coding standards require certain files in order
|
||||||
for the project to be compliant.
|
for the project to be compliant.
|
||||||
This command creates those files:
|
This command creates those files:
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Generate the configure file:</emphasis>
|
<emphasis>Generate the Configure File:</emphasis>
|
||||||
This command generates the
|
This command generates the
|
||||||
<filename>configure</filename>:
|
<filename>configure</filename>:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Cross-compile the project:</emphasis>
|
<emphasis>Cross-Compile the Project:</emphasis>
|
||||||
This command compiles the project using the
|
This command compiles the project using the
|
||||||
cross-compiler.
|
cross-compiler.
|
||||||
The
|
The
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Make and install the project:</emphasis>
|
<emphasis>Make and Install the Project:</emphasis>
|
||||||
These two commands generate and install the project
|
These two commands generate and install the project
|
||||||
into the destination directory:
|
into the destination directory:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Verify the installation:</emphasis>
|
<emphasis>Verify the Installation:</emphasis>
|
||||||
This command is a simple way to verify the installation
|
This command is a simple way to verify the installation
|
||||||
of your project.
|
of your project.
|
||||||
Running the command prints the architecture on which
|
Running the command prints the architecture on which
|
||||||
@@ -162,7 +162,7 @@
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
<emphasis>Execute your project:</emphasis>
|
<emphasis>Execute Your Project:</emphasis>
|
||||||
To execute the project in the shell, simply enter
|
To execute the project in the shell, simply enter
|
||||||
the name.
|
the name.
|
||||||
You could also copy the binary to the actual target
|
You could also copy the binary to the actual target
|
||||||
|
|||||||
Reference in New Issue
Block a user