diff options
Diffstat (limited to 'handbook/development.xml')
| -rw-r--r-- | handbook/development.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/handbook/development.xml b/handbook/development.xml index e6fb826d33..4f36c7aa82 100644 --- a/handbook/development.xml +++ b/handbook/development.xml | |||
| @@ -19,9 +19,9 @@ | |||
| 19 | The meta-toolchain and meta-toolchain-sdk targets (<link linkend='ref-images'>see | 19 | The meta-toolchain and meta-toolchain-sdk targets (<link linkend='ref-images'>see |
| 20 | the images section</link>) build tarballs which contain toolchains and | 20 | the images section</link>) build tarballs which contain toolchains and |
| 21 | libraries suitable for application development outside Poky. These unpack into the | 21 | libraries suitable for application development outside Poky. These unpack into the |
| 22 | <filename class="directory">/usr/local/poky</filename> directory and contain | 22 | <filename class="directory">/opt/poky</filename> directory and contain |
| 23 | a setup script, e.g. | 23 | a setup script, e.g. |
| 24 | <filename>/usr/local/poky/eabi-glibc/arm/environment-setup</filename> which | 24 | <filename>/opt/poky/environment-setup-i586-poky-linux</filename> which |
| 25 | can be sourced to initialise a suitable environment. After sourcing this, the | 25 | can be sourced to initialise a suitable environment. After sourcing this, the |
| 26 | compiler, QEMU scripts, QEMU binary, a special version of pkgconfig and other | 26 | compiler, QEMU scripts, QEMU binary, a special version of pkgconfig and other |
| 27 | useful utilities are added to the PATH. Variables to assist pkgconfig and | 27 | useful utilities are added to the PATH. Variables to assist pkgconfig and |
| @@ -76,7 +76,7 @@ | |||
| 76 | 76 | ||
| 77 | <para>Extract the tarball for the toolchain into / as root. The | 77 | <para>Extract the tarball for the toolchain into / as root. The |
| 78 | toolchain will be installed into | 78 | toolchain will be installed into |
| 79 | <filename class="directory">/usr/local/poky</filename>.</para> | 79 | <filename class="directory">/opt/poky</filename>.</para> |
| 80 | 80 | ||
| 81 | <para>To use the plugin, first open or create an existing | 81 | <para>To use the plugin, first open or create an existing |
| 82 | project. If creating a new project the "C GTK+" project type | 82 | project. If creating a new project the "C GTK+" project type |
| @@ -101,16 +101,16 @@ | |||
| 101 | 101 | ||
| 102 | <itemizedlist> | 102 | <itemizedlist> |
| 103 | 103 | ||
| 104 | <listitem><para><guilabel>SDK root</guilabel>: this is the root directory of the SDK | 104 | <listitem><para><guilabel>SDK root</guilabel>: this is the root directory of the SDK's sysroot |
| 105 | for an ARM EABI SDK this will be <filename | 105 | for an i586 SDK this will be <filename |
| 106 | class="directory">/usr/local/poky/eabi-glibc/arm</filename>. | 106 | class="directory">/opt/poky/sysroots/i586-poky-linux</filename>. |
| 107 | This directory will contain directories named like "bin", | 107 | This directory will contain directories named like "bin", |
| 108 | "include", "var", etc. With the file chooser it is important | 108 | "include", "var", etc. With the file chooser it is important |
| 109 | to enter into the "arm" subdirectory for this | 109 | to enter into the "i586-poky-linux" subdirectory for this |
| 110 | example.</para></listitem> | 110 | example.</para></listitem> |
| 111 | 111 | ||
| 112 | <listitem><para><guilabel>Toolchain triplet</guilabel>: this is the cross compile | 112 | <listitem><para><guilabel>Toolchain triplet</guilabel>: this is the cross compile |
| 113 | triplet, e.g. "arm-poky-linux-gnueabi".</para></listitem> | 113 | triplet, e.g. "i586-poky-linux".</para></listitem> |
| 114 | 114 | ||
| 115 | <listitem><para><guilabel>Kernel</guilabel>: use the file chooser to select the kernel | 115 | <listitem><para><guilabel>Kernel</guilabel>: use the file chooser to select the kernel |
| 116 | to use with QEMU</para></listitem> | 116 | to use with QEMU</para></listitem> |
| @@ -225,7 +225,7 @@ | |||
| 225 | be used from within qemu simply by calling distcc | 225 | be used from within qemu simply by calling distcc |
| 226 | (<command>export CC="distcc"</command> can be set in the enviroment). | 226 | (<command>export CC="distcc"</command> can be set in the enviroment). |
| 227 | Alterntatively, if a suitable SDK/toolchain is present in | 227 | Alterntatively, if a suitable SDK/toolchain is present in |
| 228 | <filename class="directory">/usr/local/poky</filename> it will also | 228 | <filename class="directory">/opt/poky</filename> it will also |
| 229 | automatically be used. | 229 | automatically be used. |
| 230 | </para> | 230 | </para> |
| 231 | 231 | ||
