From 276abb19ce524ba1d45d01530c5f44f51d6468b6 Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Thu, 9 Sep 2010 15:56:30 +0800 Subject: handbook: review and correct CH5(development) Signed-off-by: Lianhao Lu Signed-off-by: Liping Ke --- handbook/development.xml | 55 +++++++++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 22 deletions(-) (limited to 'handbook/development.xml') diff --git a/handbook/development.xml b/handbook/development.xml index 3bcf40506c..a383a2f4a8 100644 --- a/handbook/development.xml +++ b/handbook/development.xml @@ -61,14 +61,14 @@ To use the plugin, a toolchain and SDK built by Poky is required along with Anjuta it's development headers and the Anjuta plugin. The Poky Anjuta plugin is available to download as a tarball at the - OpenedHand labs page or + OpenedHand labs page or directly from the Poky Git repository located at git://git.pokylinux.org/anjuta-poky; a web interface - to the repository can be accessed at . + to the repository can be accessed at . See the README file contained in the project for more information on dependencies and building - the plugin. It's recommended you enable the experimental gdb integration by passing configure the - --enable-gdb-integration switch. + the plugin. If you want to disable remote gdb debugging, please pass --diable-gdb-integration + switch when doing configure.
@@ -101,23 +101,33 @@ - SDK root: this is the root directory of the SDK's sysroot - for an i586 SDK this will be /opt/poky/sysroots/i586-poky-linux. + SDK root: If we use external toolchain, we need to set SDK root. + this is the root directory of the SDK's sysroot. For an i586 SDK this will be /opt/poky/. This directory will contain directories named like "bin", - "include", "var", etc. With the file chooser it is important - to enter into the "i586-poky-linux" subdirectory for this - example. - - Toolchain triplet: this is the cross compile - triplet, e.g. "i586-poky-linux". + "include", "var", etc. under your selected target architecture subdirectory + /opt/poky/sysroot/i586-poky-linux/. Needed cross compile tools are under + /opt/poky/sysroot/i586-pokysdk-linux/ + + + Poky root: If we have local poky build tree, we need to set the Poky root. + this is the root directory of the poky build tree, if you build your i586 target architecture + under the subdirectory of build_x86 within your poky tree, the Poky root directory should be + ${Poky_tree}/build_x86/. + + + Target Architecture: this is the cross compile + triplet, e.g. "i586-poky-linux". This target triplet is the prefix extracted from + the set up script file name. For examle, "i586-poky-linux" is extracted from set up script file + /opt/poky/environment-setup-i586-poky-linux + Kernel: use the file chooser to select the kernel to use with QEMU Root filesystem: use the file chooser to select - the root filesystem image, this should be an image (not a - tarball) + the root filesystem directory, this is the directory where you use "poky-extract-sdk" command to + extract the poky-image-sdk tarball.