summaryrefslogtreecommitdiffstats
path: root/documentation/sdk-manual
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-06-05 12:11:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-15 11:26:47 +0100
commite8127d4fc4c607d1cd1618bf6088245672074b2c (patch)
treead2b890977e74327b64d72e406086b794b673b20 /documentation/sdk-manual
parent31b2696c906685f8a3163ff21307fba8e62b3a77 (diff)
downloadpoky-e8127d4fc4c607d1cd1618bf6088245672074b2c.tar.gz
sdk-manual: Added cross-reference to Makefile section. Fixed syntax
Two changes here. One was a note to the "make" step of the Autotools-based section. I cross-referenced the Makefile section for information on how SDK installation environment variables are respected and or overridden when using make variables. Also, fixed the quotation syntax of the four environment variable examples used in the "Makefile-Based Projects" section. (From yocto-docs rev: 5bd4e056496ff3478e213ccd9e49adfe1fac67ab) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/sdk-manual')
-rw-r--r--documentation/sdk-manual/sdk-working-projects.xml16
1 files changed, 12 insertions, 4 deletions
diff --git a/documentation/sdk-manual/sdk-working-projects.xml b/documentation/sdk-manual/sdk-working-projects.xml
index 7aa43b3921..44b010db6d 100644
--- a/documentation/sdk-manual/sdk-working-projects.xml
+++ b/documentation/sdk-manual/sdk-working-projects.xml
@@ -195,6 +195,14 @@
195 $ make 195 $ make
196 $ make install DESTDIR=./tmp 196 $ make install DESTDIR=./tmp
197 </literallayout> 197 </literallayout>
198 <note>
199 To learn about environment variables established
200 when you run the cross-toolchain environment setup
201 script and how they are used or overridden when
202 the Makefile, see the
203 "<link linkend='makefile-based-projects'>Makefile-Based Projects</link>"
204 section.
205 </note>
198 This next command is a simple way to verify the 206 This next command is a simple way to verify the
199 installation of your project. 207 installation of your project.
200 Running the command prints the architecture on which 208 Running the command prints the architecture on which
@@ -235,10 +243,10 @@
235 To illustrate this, consider the following four cross-toolchain 243 To illustrate this, consider the following four cross-toolchain
236 environment variables: 244 environment variables:
237 <literallayout class='monospaced'> 245 <literallayout class='monospaced'>
238 <ulink url='&YOCTO_DOCS_REF_URL;#var-CC'>CC</ulink>=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/&DISTRO;/sysroots/i586-poky-linux 246 <ulink url='&YOCTO_DOCS_REF_URL;#var-CC'>CC</ulink>="i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/&DISTRO;/sysroots/i586-poky-linux"
239 <ulink url='&YOCTO_DOCS_REF_URL;#var-LD'>LD</ulink>=i586-poky-linux-ld --sysroot=/opt/poky/&DISTRO;/sysroots/i586-poky-linux 247 <ulink url='&YOCTO_DOCS_REF_URL;#var-LD'>LD</ulink>="i586-poky-linux-ld --sysroot=/opt/poky/&DISTRO;/sysroots/i586-poky-linux"
240 <ulink url='&YOCTO_DOCS_REF_URL;#var-CFLAGS'>CFLAGS</ulink>=-O2 -pipe -g -feliminate-unused-debug-types 248 <ulink url='&YOCTO_DOCS_REF_URL;#var-CFLAGS'>CFLAGS</ulink>="-O2 -pipe -g -feliminate-unused-debug-types"
241 <ulink url='&YOCTO_DOCS_REF_URL;#var-CXXFLAGS'>CXXFLAGS</ulink>=-O2 -pipe -g -feliminate-unused-debug-types 249 <ulink url='&YOCTO_DOCS_REF_URL;#var-CXXFLAGS'>CXXFLAGS</ulink>="-O2 -pipe -g -feliminate-unused-debug-types"
242 </literallayout> 250 </literallayout>
243 Now, consider the following three cases: 251 Now, consider the following three cases:
244 <itemizedlist> 252 <itemizedlist>