From 408f124c866f940abac6895819f4397c6df78649 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 22 Jul 2010 15:37:41 +0100 Subject: [PATCH] handbook: update SDK paths Signed-off-by: Joshua Lock --- handbook/development.xml | 18 +++++++++--------- handbook/ref-images.xml | 2 +- 2 files changed, 10 insertions(+), 10 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 @@ 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 - /usr/local/poky directory and contain + /opt/poky directory and contain a setup script, e.g. - /usr/local/poky/eabi-glibc/arm/environment-setup which + /opt/poky/environment-setup-i586-poky-linux which can be sourced to initialise a suitable environment. After sourcing this, 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 @@ -76,7 +76,7 @@ Extract the tarball for the toolchain into / as root. The toolchain will be installed into - /usr/local/poky. + /opt/poky. To use the plugin, first open or create an existing project. If creating a new project the "C GTK+" project type @@ -101,16 +101,16 @@ - SDK root: this is the root directory of the SDK - for an ARM EABI SDK this will be /usr/local/poky/eabi-glibc/arm. + 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. This directory will contain directories named like "bin", "include", "var", etc. With the file chooser it is important - to enter into the "arm" subdirectory for this + to enter into the "i586-poky-linux" subdirectory for this example. Toolchain triplet: this is the cross compile - triplet, e.g. "arm-poky-linux-gnueabi". + triplet, e.g. "i586-poky-linux". Kernel: use the file chooser to select the kernel to use with QEMU @@ -225,7 +225,7 @@ be used from within qemu simply by calling distcc (export CC="distcc" can be set in the enviroment). Alterntatively, if a suitable SDK/toolchain is present in - /usr/local/poky it will also + /opt/poky it will also automatically be used. diff --git a/handbook/ref-images.xml b/handbook/ref-images.xml index 80e36aec60..6d7991102c 100644 --- a/handbook/ref-images.xml +++ b/handbook/ref-images.xml @@ -48,7 +48,7 @@ meta-toolchain - This generates a tarball containing a standalone toolchain which can be used externally to Poky. It is self - contained and unpacks to the /usr/local/poky + contained and unpacks to the /opt/poky directory. It also contains a copy of QEMU and the scripts neccessary to run poky QEMU images.