diff options
Diffstat (limited to 'documentation/sdk-manual/sdk-working-projects.rst')
-rw-r--r-- | documentation/sdk-manual/sdk-working-projects.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/sdk-manual/sdk-working-projects.rst b/documentation/sdk-manual/sdk-working-projects.rst index 5c828fd586..4f97640327 100644 --- a/documentation/sdk-manual/sdk-working-projects.rst +++ b/documentation/sdk-manual/sdk-working-projects.rst | |||
@@ -86,11 +86,11 @@ project: | |||
86 | the string "environment-setup" and contains the machine architecture, | 86 | the string "environment-setup" and contains the machine architecture, |
87 | which is followed by the string "poky-linux". For this example, the | 87 | which is followed by the string "poky-linux". For this example, the |
88 | command sources a script from the default SDK installation directory | 88 | command sources a script from the default SDK installation directory |
89 | that uses the 32-bit Intel x86 Architecture and the 3.1.2 Yocto | 89 | that uses the 32-bit Intel x86 Architecture and the &DISTRO; Yocto |
90 | Project release: | 90 | Project release: |
91 | :: | 91 | :: |
92 | 92 | ||
93 | $ source /opt/poky/3.1.2/environment-setup-i586-poky-linux | 93 | $ source /opt/poky/&DISTRO;/environment-setup-i586-poky-linux |
94 | 94 | ||
95 | 3. *Create the configure Script:* Use the ``autoreconf`` command to | 95 | 3. *Create the configure Script:* Use the ``autoreconf`` command to |
96 | generate the ``configure`` script. | 96 | generate the ``configure`` script. |
@@ -229,14 +229,14 @@ a null value for the compiler variable (i.e. | |||
229 | 229 | ||
230 | Running the | 230 | Running the |
231 | SDK setup script for a 64-bit build host and an i586-tuned target | 231 | SDK setup script for a 64-bit build host and an i586-tuned target |
232 | architecture for a ``core-image-sato`` image using the current 3.1.2 | 232 | architecture for a ``core-image-sato`` image using the current &DISTRO; |
233 | Yocto Project release and then echoing that variable shows the value | 233 | Yocto Project release and then echoing that variable shows the value |
234 | established through the script: | 234 | established through the script: |
235 | :: | 235 | :: |
236 | 236 | ||
237 | $ source /opt/poky/3.1.2/environment-setup-i586-poky-linux | 237 | $ source /opt/poky/&DISTRO;/environment-setup-i586-poky-linux |
238 | $ echo ${CC} | 238 | $ echo ${CC} |
239 | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/3.1.2/sysroots/i586-poky-linux | 239 | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/&DISTRO;/sysroots/i586-poky-linux |
240 | 240 | ||
241 | To illustrate variable use, work through this simple "Hello World!" | 241 | To illustrate variable use, work through this simple "Hello World!" |
242 | example: | 242 | example: |