summaryrefslogtreecommitdiffstats
path: root/documentation/adt-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-09-15 13:04:13 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-25 17:57:20 +0100
commitbee504690828562e0a82062eac171ea6d54b4074 (patch)
tree8f12e3de232ed1f463cae86529df0054b0a88e40 /documentation/adt-manual
parent4e6b4c09a5173d4ff85f359428e4db1913ca9e83 (diff)
downloadpoky-bee504690828562e0a82062eac171ea6d54b4074.tar.gz
documentation/adt-manual/adt-eclipse.xml: various minor clean ups.
(From yocto-docs rev: 6caabfaed1ec440511727e163b9c3bb7afe966ae) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/adt-manual')
-rw-r--r--documentation/adt-manual/adt-eclipse.xml70
1 files changed, 35 insertions, 35 deletions
diff --git a/documentation/adt-manual/adt-eclipse.xml b/documentation/adt-manual/adt-eclipse.xml
index 324d6dbcd7..4fdf90f374 100644
--- a/documentation/adt-manual/adt-eclipse.xml
+++ b/documentation/adt-manual/adt-eclipse.xml
@@ -138,14 +138,18 @@
138 <title>Installing the Eclipse Yocto Plug-in</title> 138 <title>Installing the Eclipse Yocto Plug-in</title>
139 139
140 <para> 140 <para>
141 To install the Eclipse Yocto Plug-in, follow these special steps. 141 WRITER'S NOTE: The steps in here are temporary.
142 The steps are WIP and are not final. 142 I need to replace them when the real procedure is available from Jessica Zhang.
143 Once they are final they will be replaced with the actual steps: 143 </para>
144
145 <para>
146 To install the Eclipse Yocto Plug-in, follow these steps:
144 <orderedlist> 147 <orderedlist>
145 <listitem><para>Open a shell and create a Git repository with: 148 <listitem><para>Open a shell and create a Git repository with:
146 <literallayout class='monospaced'> 149 <literallayout class='monospaced'>
147 $ git clone git://git.yoctoproject.org/yocto-eclipse yocto-eclipse 150 $ git clone git://git.yoctoproject.org/yocto-eclipse yocto-eclipse
148 </literallayout></para></listitem> 151 </literallayout>
152 For this example, I created <filename>~/yocto-eclipse</filename>.</para></listitem>
149 <listitem><para>In Eclipse, select "Import" from the "File" menu.</para></listitem> 153 <listitem><para>In Eclipse, select "Import" from the "File" menu.</para></listitem>
150 <listitem><para>Expand the "General" box and pick "existing projects into workspace". 154 <listitem><para>Expand the "General" box and pick "existing projects into workspace".
151 </para></listitem> 155 </para></listitem>
@@ -164,9 +168,8 @@
164 $ cd ~/eclipse 168 $ cd ~/eclipse
165 $ ./eclipse -vmargs -XX:PermSize=256M 169 $ ./eclipse -vmargs -XX:PermSize=256M
166 </literallayout> 170 </literallayout>
167 What is shown is the default projects in the left pane. 171 The left navigation pane shows the default projects.
168 I should be able to right-click on one of these and run as an Eclipse application to 172 Right-click on one of these projects and run it as an Eclipse application.
169 bring up the Eclipse instance again with the Eclipse Yocto Plug-in working.
170 This brings up a second instance of Eclipse IDE that has the Yocto Plug-in. 173 This brings up a second instance of Eclipse IDE that has the Yocto Plug-in.
171 </para> 174 </para>
172 </section> 175 </section>
@@ -186,7 +189,7 @@
186 To start, you need to do the following from within the Eclipse IDE: 189 To start, you need to do the following from within the Eclipse IDE:
187 <itemizedlist> 190 <itemizedlist>
188 <listitem><para>Choose <filename>Windows -&gt; Preferences</filename> to display 191 <listitem><para>Choose <filename>Windows -&gt; Preferences</filename> to display
189 the Preferences Dialog</para></listitem> 192 the <filename>Preferences</filename> Dialog</para></listitem>
190 <listitem><para>Click <filename>Yocto ADT</filename></para></listitem> 193 <listitem><para>Click <filename>Yocto ADT</filename></para></listitem>
191 </itemizedlist> 194 </itemizedlist>
192 </para> 195 </para>
@@ -349,21 +352,24 @@
349<title>Configuring the Cross-Toolchains</title> 352<title>Configuring the Cross-Toolchains</title>
350 353
351 <para> 354 <para>
352 The previous section, "<link linkend='configuring-the-eclipse-yocto-plug-in'>Configuring 355 The earlier section, "<link linkend='configuring-the-eclipse-yocto-plug-in'>Configuring
353 the Eclipse Yocto Plug-in</link>", sets up the default project 356 the Eclipse Yocto Plug-in</link>", sets up the default project
354 configurations. 357 configurations.
355 You can change these settings for a given project by following these steps: 358 You can override these settings for a given project by following these steps:
356 <orderedlist> 359 <orderedlist>
357 <listitem><para>Select <filename>Window -&gt; Preferences</filename>: 360 <listitem><para>Select <filename>Project -&gt; Change Yocto Project Settings</filename>:
358 This selection brings up the <filename>Preferences</filename> Dialog. 361 This selection brings up the <filename>Project Yocto Settings</filename> Dialog
359 If the Yocto ADT Preferences are not automatically displayed, you can navigate to 362 and allows you to make changes specific to an individual project.
360 that dialog by selection <filename>Yocto ADT</filename> in the left-hand 363 </para>
361 panel.</para> 364 <para>By default, the Cross Compiler Options and Target Options for a project
362 <para>Yocto ADT Settings are inherited from the default project configuration. 365 are inherited from settings you provide using the <filename>Preferences</filename>
363 The information in this dialog is identical to that chosen earlier 366 Dialog as described earlier
364 for the Cross Compiler Options and Target Options as described in the 367 in the "<link linkend='configuring-the-eclipse-yocto-plug-in'>Configuring the Eclipse
365 "<link linkend='configuring-the-eclipse-yocto-plug-in'>Configuring the Eclipse 368 Yocto Plug-in</link>" section.
366 Yocto Plug-in</link>" section.</para></listitem> 369 The <filename>Project Yocto Settings</filename>
370 Dialog allows you to override those default settings
371 for a given project.</para></listitem>
372 <listitem><para>Make your configurations for the project and click "OK".</para></listitem>
367 <listitem><para>Select <filename>Project -&gt; Reconfigure Project</filename>: 373 <listitem><para>Select <filename>Project -&gt; Reconfigure Project</filename>:
368 This selection reconfigures the project by running 374 This selection reconfigures the project by running
369 <filename>autogen.sh</filename> in the workspace for your project. 375 <filename>autogen.sh</filename> in the workspace for your project.
@@ -388,28 +394,22 @@
388<title>Starting QEMU in User Space NFS Mode</title> 394<title>Starting QEMU in User Space NFS Mode</title>
389 395
390 <para> 396 <para>
391 WRITER'S NOTE: I might need to make sure the target sysroot is pointing to qemux86-sato
392 at this point.
393 I am not sure it really inherits it from the Eclipse IDE settings.
394 </para>
395
396 <para>
397 To start the QEMU emulator from within Eclipse, follow these steps: 397 To start the QEMU emulator from within Eclipse, follow these steps:
398 <orderedlist> 398 <orderedlist>
399 <listitem><para>Expose the <filename>Run -&gt; External Tools -&gt; External Tools 399 <listitem><para>Expose the <filename>Run -&gt; External Tools</filename> menu.
400 Configurations...</filename> menu.
401 Your image should appear as a selectable menu item. 400 Your image should appear as a selectable menu item.
402 </para></listitem> 401 </para></listitem>
403 <listitem><para>Select your image in the navigation pane to launch the 402 <listitem><para>Select your image in the navigation pane to launch the
404 emulator in a new window.</para></listitem> 403 emulator in a new window.</para></listitem>
405 <listitem><para>Enter your host root password in the shell window at the prompt. 404 <listitem><para>If needed, enter your host root password in the shell window at the prompt.
406 This sets up a <filename>Tap 0</filename> connection needed for running in user-space 405 This sets up a <filename>Tap 0</filename> connection needed for running in user-space
407 NFS mode.</para></listitem> 406 NFS mode.</para></listitem>
408 <listitem><para>Wait for QEMU to launch.</para></listitem> 407 <listitem><para>Wait for QEMU to launch.</para></listitem>
409 <listitem><para>Once QEMU launches you need to determine the IP Address 408 <listitem><para>Once QEMU launches, you can begin operating within that
410 for the user-space NFS. 409 environment.
411 You can do that by going to a terminal in the QEMU and entering the 410 For example, you could determine the IP Address
412 <filename>ifconfig</filename> command.</para></listitem> 411 for the user-space NFS by using the <filename>ifconfig</filename> command.
412 </para></listitem>
413 </orderedlist> 413 </orderedlist>
414 </para> 414 </para>
415</section> 415</section>
@@ -440,8 +440,8 @@
440 <listitem><para>Click <filename>Next</filename>.</para></listitem> 440 <listitem><para>Click <filename>Next</filename>.</para></listitem>
441 <listitem><para>Clear out the <filename>host name</filename> field and enter the IP Address 441 <listitem><para>Clear out the <filename>host name</filename> field and enter the IP Address
442 determined earlier.</para></listitem> 442 determined earlier.</para></listitem>
443 <listitem><para>Click <filename>Finish</filename> to close the new connections 443 <listitem><para>Click <filename>Finish</filename> to close the
444 Dialog.</para></listitem> 444 <filename>New Connections</filename> Dialog.</para></listitem>
445 <listitem><para>Use the drop-down menu now in the <filename>Connection</filename> field and pick 445 <listitem><para>Use the drop-down menu now in the <filename>Connection</filename> field and pick
446 the IP Address you entered.</para></listitem> 446 the IP Address you entered.</para></listitem>
447 <listitem><para>Click <filename>Debug</filename> to bring up a login screen 447 <listitem><para>Click <filename>Debug</filename> to bring up a login screen