From fa332a5b270f54b5e4c0fbb6c49e3ca0db726ba7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 11 Jun 2012 14:17:02 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/development.xml | 50 --------------------------- 1 file changed, 50 deletions(-) (limited to 'documentation') 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 @@ This chapter describes each development method. -
- External Development Using the Meta-Toolchain - - The Yocto Project provides toolchains that allow you to develop your application - outside of the Yocto Project build system for specific hardware. - These toolchains (called meta-toolchains) contain cross-development tools such as compilers, - linkers, and debuggers that build your application for your target device. - The Yocto Project also provides images that have toolchains for supported - architectures included within the image. - This allows you to compile, debug, or profile applications directly on the target device. - See the - "Reference: Images" appendix for a listing of the image - types that Yocto Project supports. - - - Using the BitBake tool you can build a meta-toolchain or meta-toolchain-sdk target, - which generates a tarball. - Unpacking this tarball into the /opt/poky directory - on your host produces a setup script - (e.g. /opt/poky/environment-setup-i586-poky-linux) that - you can source to initialize your build environment. - Sourcing this script adds the compiler, QEMU scripts, QEMU binary, a special version of - pkgconfig and other - useful utilities to the PATH variable used by the Yocto Project - build environment. - Variables to assist pkgconfig and - Autotools are also defined so that, for example, configure - can find pre-generated test 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. - Following is an example: - - $ ./configure --host=arm-poky-linux-gnueabi - - For projects that are not Autotool-enabled, it is usually just a case of ensuring - you point to and use the cross-toolchain. - For example, the following two lines of code in a Makefile - that builds your application - specify to use the cross-compiler arm-poky-linux-gnueabi-gcc - and linker arm-poky-linux-gnueabi-ld, which are part of the - meta-toolchain you would have previously established: - - CC=arm-poky-linux-gnueabi-gcc; - LD=arm-poky-linux-gnueabi-ld; - - -
-
External Development Using the Eclipse Plug-in -- cgit v1.2.3-54-g00ecf