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 @@ $ make $ make install DESTDIR=./tmp + + To learn about environment variables established + when you run the cross-toolchain environment setup + script and how they are used or overridden when + the Makefile, see the + "Makefile-Based Projects" + section. + This next command is a simple way to verify the installation of your project. Running the command prints the architecture on which @@ -235,10 +243,10 @@ To illustrate this, consider the following four cross-toolchain environment variables: - CC=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/&DISTRO;/sysroots/i586-poky-linux - LD=i586-poky-linux-ld --sysroot=/opt/poky/&DISTRO;/sysroots/i586-poky-linux - CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types - CXXFLAGS=-O2 -pipe -g -feliminate-unused-debug-types + CC="i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/&DISTRO;/sysroots/i586-poky-linux" + LD="i586-poky-linux-ld --sysroot=/opt/poky/&DISTRO;/sysroots/i586-poky-linux" + CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types" + CXXFLAGS="-O2 -pipe -g -feliminate-unused-debug-types" Now, consider the following three cases: