diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-06-12 10:36:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-15 17:18:27 +0100 |
commit | 8cdb88330c2a7c98114a6740fd1d913e20e384a4 (patch) | |
tree | 83546a9982b1791e0df190b08fd08f589f20b0ce /documentation | |
parent | fef4f4ecf5fead3bb9dccf646d4b9b3a65fd58d6 (diff) | |
download | poky-8cdb88330c2a7c98114a6740fd1d913e20e384a4.tar.gz |
documentation/poky-ref-manual/development.xml: removed section
Removed the "Development Using Yocto Project Directly" section.
This information is better covered in the YP Development Manual
where it talks about modifying temporary source code.
(From yocto-docs rev: f3c8c182a8b34c8fdfe4be8c497948f8b777ddf2)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/poky-ref-manual/development.xml | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/documentation/poky-ref-manual/development.xml b/documentation/poky-ref-manual/development.xml index 17fed8ee22..69885593ec 100644 --- a/documentation/poky-ref-manual/development.xml +++ b/documentation/poky-ref-manual/development.xml | |||
@@ -15,64 +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-insitu"> | ||
19 | <title>Development Using Yocto Project Directly</title> | ||
20 | <para> | ||
21 | Working directly with the Yocto Project is a fast and effective development technique. | ||
22 | The idea is that you can directly edit files in a working directory | ||
23 | (<filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>) | ||
24 | or the source directory (<filename><link linkend='var-S'>S</link></filename>) | ||
25 | and then force specific tasks to rerun in order to test the changes. | ||
26 | An example session working on the matchbox-desktop package might | ||
27 | look like this: | ||
28 | </para> | ||
29 | |||
30 | <para> | ||
31 | <literallayout class='monospaced'> | ||
32 | $ bitbake matchbox-desktop | ||
33 | $ sh | ||
34 | $ cd tmp/work/armv5te-poky-linux-gnueabi/matchbox-desktop-2.0+svnr1708-r0/ | ||
35 | $ cd matchbox-desktop-2 | ||
36 | $ vi src/main.c | ||
37 | . | ||
38 | . | ||
39 | [Make your changes] | ||
40 | . | ||
41 | . | ||
42 | $ exit | ||
43 | $ bitbake matchbox-desktop -c compile -f | ||
44 | $ bitbake matchbox-desktop | ||
45 | </literallayout> | ||
46 | </para> | ||
47 | |||
48 | <para> | ||
49 | This example builds the <filename>matchbox-desktop</filename> package, | ||
50 | creates a new terminal, changes into the work directory for the package, | ||
51 | changes a file, exits out of the terminal, and then recompiles the | ||
52 | package. | ||
53 | Instead of using <filename>sh</filename>, | ||
54 | you can also use two different terminals. | ||
55 | However, the risk of using two terminals is that a command like | ||
56 | <filename>unpack</filename> could destroy your changes in the | ||
57 | work directory. | ||
58 | Consequently, you need to work carefully. | ||
59 | </para> | ||
60 | |||
61 | <para> | ||
62 | It is useful when making changes directly to the work directory files to do | ||
63 | so using the Quilt tool as detailed in the | ||
64 | "<ulink url='&YOCTO_DOCS_DEV_URL;#using-a-quilt-workflow'>Using a Quilt Workflow</ulink>" section in the Yocto Project Development Manual. | ||
65 | Using Quilt, you can copy patches into the recipe directory and use the patches directly | ||
66 | through use of the <filename><link linkend='var-SRC_URI'>SRC_URI</link></filename> variable. | ||
67 | </para> | ||
68 | |||
69 | <para> | ||
70 | For a review of the skills used in this section, see the | ||
71 | "<link linkend='usingpoky-components-bitbake'>BitBake</link>" and | ||
72 | "<link linkend='usingpoky-debugging-taskrunning'>Running Specific Tasks</link>" sections. | ||
73 | </para> | ||
74 | </section> | ||
75 | |||
76 | <section id="platdev-appdev-devshell"> | 18 | <section id="platdev-appdev-devshell"> |
77 | <title>Development Within a Development Shell</title> | 19 | <title>Development Within a Development Shell</title> |
78 | 20 | ||