summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-06-11 14:17:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-15 17:18:26 +0100
commitfa332a5b270f54b5e4c0fbb6c49e3ca0db726ba7 (patch)
treee6e26b5a29f86efb6792845e586fdf5c95671707
parent91911f600f07bf6a593f14b5af5dd96a3c221e68 (diff)
downloadpoky-fa332a5b270f54b5e4c0fbb6c49e3ca0db726ba7.tar.gz
documentation/poky-ref-manual/development.xml: Removed toolchain dev section
The section "External Development Using the Meta-Toolchain" was removed. The information in this section is better presented in the ADT manual and in the YP Development manual. (From yocto-docs rev: 2488d6ac9872b00a8887a12a6c77aa16d30ad5e4) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/poky-ref-manual/development.xml50
1 files changed, 0 insertions, 50 deletions
diff --git a/documentation/poky-ref-manual/development.xml b/documentation/poky-ref-manual/development.xml
index 8508a5eb31..4c8c4be077 100644
--- a/documentation/poky-ref-manual/development.xml
+++ b/documentation/poky-ref-manual/development.xml
@@ -15,56 +15,6 @@
15 This chapter describes each development method. 15 This chapter describes each development method.
16 </para> 16 </para>
17 17
18 <section id="platdev-appdev-external-sdk">
19 <title>External Development Using the Meta-Toolchain</title>
20 <para>
21 The Yocto Project provides toolchains that allow you to develop your application
22 outside of the Yocto Project build system for specific hardware.
23 These toolchains (called meta-toolchains) contain cross-development tools such as compilers,
24 linkers, and debuggers that build your application for your target device.
25 The Yocto Project also provides images that have toolchains for supported
26 architectures included within the image.
27 This allows you to compile, debug, or profile applications directly on the target device.
28 See the
29 "<link linkend='ref-images'>Reference: Images</link>" appendix for a listing of the image
30 types that Yocto Project supports.
31 </para>
32 <para>
33 Using the BitBake tool you can build a meta-toolchain or meta-toolchain-sdk target,
34 which generates a tarball.
35 Unpacking this tarball into the <filename class="directory">/opt/poky</filename> directory
36 on your host produces a setup script
37 (e.g. <filename>/opt/poky/environment-setup-i586-poky-linux</filename>) that
38 you can <filename>source</filename> to initialize your build environment.
39 Sourcing this script adds the compiler, QEMU scripts, QEMU binary, a special version of
40 <filename>pkgconfig</filename> and other
41 useful utilities to the <filename>PATH</filename> variable used by the Yocto Project
42 build environment.
43 Variables to assist <filename>pkgconfig</filename> and
44 Autotools are also defined so that, for example, <filename>configure</filename>
45 can find pre-generated test results for tests that need target hardware on which to run.
46 </para>
47 <para>
48 Using the toolchain with Autotool-enabled packages is straightforward - just pass the
49 appropriate <filename>host</filename> option to <filename>configure</filename>.
50 Following is an example:
51 <literallayout class='monospaced'>
52 $ ./configure --host=arm-poky-linux-gnueabi
53 </literallayout>
54 For projects that are not Autotool-enabled, it is usually just a case of ensuring
55 you point to and use the cross-toolchain.
56 For example, the following two lines of code in a <filename>Makefile</filename>
57 that builds your application
58 specify to use the cross-compiler <filename>arm-poky-linux-gnueabi-gcc</filename>
59 and linker <filename>arm-poky-linux-gnueabi-ld</filename>, which are part of the
60 meta-toolchain you would have previously established:
61 <literallayout class='monospaced'>
62 CC=arm-poky-linux-gnueabi-gcc;
63 LD=arm-poky-linux-gnueabi-ld;
64 </literallayout>
65 </para>
66 </section>
67
68 <section id="using-the-eclipse-and-anjuta-plug-ins"> 18 <section id="using-the-eclipse-and-anjuta-plug-ins">
69 <title>External Development Using the Eclipse Plug-in</title> 19 <title>External Development Using the Eclipse Plug-in</title>
70 <para> 20 <para>