summaryrefslogtreecommitdiffstats
path: root/documentation/sdk-manual/sdk-working-projects.rst
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2020-11-25 09:33:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-03 12:04:20 +0000
commit912a3c52e26e4bae8222138f291a86c61838506e (patch)
treee731578da3feafcf6132af513c3709fc58b02fc0 /documentation/sdk-manual/sdk-working-projects.rst
parentf70c628ae57bb0c98e74e5646a2ee61cee34403e (diff)
downloadpoky-912a3c52e26e4bae8222138f291a86c61838506e.tar.gz
{dev,kernel,sdk}-manual: replace hardcoded release version with &DISTRO;
In the Docbook files we had DISTRO, but somehow it was lost during the migration to Sphinx. (From yocto-docs rev: d10bb13070039e17281fccc5c1a64b5bfed30543) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/sdk-manual/sdk-working-projects.rst')
-rw-r--r--documentation/sdk-manual/sdk-working-projects.rst10
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
953. *Create the configure Script:* Use the ``autoreconf`` command to 953. *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
230Running the 230Running the
231SDK setup script for a 64-bit build host and an i586-tuned target 231SDK setup script for a 64-bit build host and an i586-tuned target
232architecture for a ``core-image-sato`` image using the current 3.1.2 232architecture for a ``core-image-sato`` image using the current &DISTRO;
233Yocto Project release and then echoing that variable shows the value 233Yocto Project release and then echoing that variable shows the value
234established through the script: 234established 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
241To illustrate variable use, work through this simple "Hello World!" 241To illustrate variable use, work through this simple "Hello World!"
242example: 242example: