From 80eba26fb101cc07fc21b0ddec724999b3161ea9 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 15 Oct 2010 15:06:33 +0100 Subject: documentation/poky-ref-manual: Various tweaks to the text Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/development.xml | 50 +++++++++++++-------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'documentation/poky-ref-manual/development.xml') diff --git a/documentation/poky-ref-manual/development.xml b/documentation/poky-ref-manual/development.xml index a383a2f4a..921943c15 100644 --- a/documentation/poky-ref-manual/development.xml +++ b/documentation/poky-ref-manual/development.xml @@ -7,33 +7,37 @@
Software development - Poky supports several methods of software development. These different - forms of development are explained below and can be switched - between as needed. + Poky supports several methods of software development. You can use the method that is + best for you. This chapter describes each development method.
- Developing externally using the Poky SDK - + External Development Using the Poky SDK The meta-toolchain and meta-toolchain-sdk targets (see - the images section) build tarballs which contain toolchains and - libraries suitable for application development outside Poky. These unpack into the + the images section) build tarballs that contain toolchains and + libraries suitable for application development outside of Poky. These tarballs + unpack into the /opt/poky directory and contain - a setup script, e.g. - /opt/poky/environment-setup-i586-poky-linux which - can be sourced to initialise a suitable environment. After sourcing this, the + a setup script (e.g. + /opt/poky/environment-setup-i586-poky-linux, which + you can source to initialize a suitable environment. Sourcing these adds the compiler, QEMU scripts, QEMU binary, a special version of pkgconfig and other - useful utilities are added to the PATH. Variables to assist pkgconfig and + useful utilities to the PATH variable. Variables to assist pkgconfig and autotools are also set so that, for example, configure can find pre-generated test - results for tests which need target hardware to run. + results for tests that need target hardware on which to run. - Using the toolchain with autotool enabled packages is straightforward, just pass the - appropriate host option to configure e.g. "./configure --host=arm-poky-linux-gnueabi". - For other projects it is usually a case of ensuring the cross tools are used e.g. - CC=arm-poky-linux-gnueabi-gcc and LD=arm-poky-linux-gnueabi-ld. + Using the toolchain with autotool-enabled packages is straightforward - just pass the + appropriate host option to configure as in the following example: + + $ ./configure --host=arm-poky-linux-gnueabi + + For other projects it is usually a case of ensuring the cross tools are used: + + CC=arm-poky-linux-gnueabi-gcc and LD=arm-poky-linux-gnueabi-ld +
@@ -215,7 +219,6 @@
-
Developing externally in QEMU @@ -249,9 +252,9 @@ also contain an NFS server exporting the guest's root filesystem allowing that to be made available to the host. -
+ -
+
Developing in Poky directly Working directly in Poky is a fast and effective development technique. @@ -296,10 +299,9 @@ $ bitbake matchbox-desktop linkend="usingpoky-components-bitbake">2.1.1 and 2.4.2. +
-
- -
+
Developing with 'devshell' @@ -346,7 +348,6 @@ $ bitbake matchbox-desktop -c devshell environmental variables such as CC to assist applications, such as make, find the correct tools. -
@@ -369,8 +370,7 @@ $ bitbake matchbox-desktop -c devshell revision updating.
- -
+
Debugging with GDB Remotely -- cgit v1.2.3