diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/sdk-manual/sdk-working-projects.xml | 16 |
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> |
