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:38 +0100
commitb1818281164c8e201ee04820d90f4663ec182276 (patch)
tree76f388397fd60b66ba92bb36a89e41258c5306b6 /documentation/sdk-manual
parentbe6f1d57a64b9a4f03b22a1e522a2e26e626b92b (diff)
downloadpoky-b1818281164c8e201ee04820d90f4663ec182276.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: a5742a8730359ed28f10108cb741913472337c57) 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>