summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual/development.xml
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-10-15 15:06:33 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-15 15:07:06 +0100
commit80eba26fb101cc07fc21b0ddec724999b3161ea9 (patch)
treef9cfc0be9f260f6577a4166e64c2b472df73245d /documentation/poky-ref-manual/development.xml
parent0be66f0e88920d32c071f6776ad6e7c1e2b619a7 (diff)
downloadpoky-80eba26fb101cc07fc21b0ddec724999b3161ea9.tar.gz
documentation/poky-ref-manual: Various tweaks to the text
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'documentation/poky-ref-manual/development.xml')
-rw-r--r--documentation/poky-ref-manual/development.xml50
1 files changed, 25 insertions, 25 deletions
diff --git a/documentation/poky-ref-manual/development.xml b/documentation/poky-ref-manual/development.xml
index a383a2f4a8..921943c155 100644
--- a/documentation/poky-ref-manual/development.xml
+++ b/documentation/poky-ref-manual/development.xml
@@ -7,33 +7,37 @@
7<section id="platdev-appdev"> 7<section id="platdev-appdev">
8 <title>Software development</title> 8 <title>Software development</title>
9 <para> 9 <para>
10 Poky supports several methods of software development. These different 10 Poky supports several methods of software development. You can use the method that is
11 forms of development are explained below and can be switched 11 best for you. This chapter describes each development method.
12 between as needed.
13 </para> 12 </para>
14 13
15 <section id="platdev-appdev-external-sdk"> 14 <section id="platdev-appdev-external-sdk">
16 <title>Developing externally using the Poky SDK</title> 15 <title>External Development Using the Poky SDK</title>
17
18 <para> 16 <para>
19 The meta-toolchain and meta-toolchain-sdk targets (<link linkend='ref-images'>see 17 The meta-toolchain and meta-toolchain-sdk targets (<link linkend='ref-images'>see
20 the images section</link>) build tarballs which contain toolchains and 18 the images section</link>) build tarballs that contain toolchains and
21 libraries suitable for application development outside Poky. These unpack into the 19 libraries suitable for application development outside of Poky. These tarballs
20 unpack into the
22 <filename class="directory">/opt/poky</filename> directory and contain 21 <filename class="directory">/opt/poky</filename> directory and contain
23 a setup script, e.g. 22 a setup script (e.g.
24 <filename>/opt/poky/environment-setup-i586-poky-linux</filename> which 23 <filename>/opt/poky/environment-setup-i586-poky-linux</filename>, which
25 can be sourced to initialise a suitable environment. After sourcing this, the 24 you can source to initialize a suitable environment. Sourcing these adds the
26 compiler, QEMU scripts, QEMU binary, a special version of pkgconfig and other 25 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 26 useful utilities to the PATH variable. Variables to assist pkgconfig and
28 autotools are also set so that, for example, configure can find pre-generated test 27 autotools are also set so that, for example, configure can find pre-generated test
29 results for tests which need target hardware to run. 28 results for tests that need target hardware on which to run.
30 </para> 29 </para>
31 30
32 <para> 31 <para>
33 Using the toolchain with autotool enabled packages is straightforward, just pass the 32 Using the toolchain with autotool-enabled packages is straightforward - just pass the
34 appropriate host option to configure e.g. "./configure --host=arm-poky-linux-gnueabi". 33 appropriate host option to configure as in the following example:
35 For other projects it is usually a case of ensuring the cross tools are used e.g. 34 <literallayout class='monospaced'>
36 CC=arm-poky-linux-gnueabi-gcc and LD=arm-poky-linux-gnueabi-ld. 35 $ ./configure --host=arm-poky-linux-gnueabi
36 </literallayout>
37 For other projects it is usually a case of ensuring the cross tools are used:
38 <literallayout class='monospaced'>
39 CC=arm-poky-linux-gnueabi-gcc and LD=arm-poky-linux-gnueabi-ld
40 </literallayout>
37 </para> 41 </para>
38 </section> 42 </section>
39 43
@@ -215,7 +219,6 @@
215 </section> 219 </section>
216 </section> 220 </section>
217 221
218
219 <section id="platdev-appdev-qemu"> 222 <section id="platdev-appdev-qemu">
220 <title>Developing externally in QEMU</title> 223 <title>Developing externally in QEMU</title>
221 <para> 224 <para>
@@ -249,9 +252,9 @@
249 also contain an NFS server exporting the guest's root filesystem 252 also contain an NFS server exporting the guest's root filesystem
250 allowing that to be made available to the host. 253 allowing that to be made available to the host.
251 </para> 254 </para>
252 </section> 255 </section>
253 256
254 <section id="platdev-appdev-insitu"> 257 <section id="platdev-appdev-insitu">
255 <title>Developing in Poky directly</title> 258 <title>Developing in Poky directly</title>
256 <para> 259 <para>
257 Working directly in Poky is a fast and effective development technique. 260 Working directly in Poky is a fast and effective development technique.
@@ -296,10 +299,9 @@ $ bitbake matchbox-desktop
296 linkend="usingpoky-components-bitbake">2.1.1</link> and <link 299 linkend="usingpoky-components-bitbake">2.1.1</link> and <link
297 linkend="usingpoky-debugging-taskrunning">2.4.2</link>. 300 linkend="usingpoky-debugging-taskrunning">2.4.2</link>.
298 </para> 301 </para>
302 </section>
299 303
300 </section> 304 <section id="platdev-appdev-devshell">
301
302 <section id="platdev-appdev-devshell">
303 <title>Developing with 'devshell'</title> 305 <title>Developing with 'devshell'</title>
304 306
305 <para> 307 <para>
@@ -346,7 +348,6 @@ $ bitbake matchbox-desktop -c devshell
346 environmental variables such as CC to assist applications, such as make, 348 environmental variables such as CC to assist applications, such as make,
347 find the correct tools. 349 find the correct tools.
348 </para> 350 </para>
349
350 </section> 351 </section>
351 352
352 <section id="platdev-appdev-srcrev"> 353 <section id="platdev-appdev-srcrev">
@@ -369,8 +370,7 @@ $ bitbake matchbox-desktop -c devshell
369 revision updating. 370 revision updating.
370 </para> 371 </para>
371 </section> 372 </section>
372 373</section>
373 </section>
374 374
375<section id="platdev-gdb-remotedebug"> 375<section id="platdev-gdb-remotedebug">
376 <title>Debugging with GDB Remotely</title> 376 <title>Debugging with GDB Remotely</title>