[FE training-materials-updates] yocto: labs: rework a bit the last lab

Antoine Ténart antoine.tenart at free-electrons.com
Fri Nov 7 17:28:35 CET 2014


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=292ab3ff201964ce45b49c40d0620a01e1a3162a

>---------------------------------------------------------------

commit 292ab3ff201964ce45b49c40d0620a01e1a3162a
Author: Antoine Tenart <antoine.tenart at free-electrons.com>
Date:   Fri Nov 7 17:28:00 2014 +0100

    yocto: labs: rework a bit the last lab
    
    Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>


>---------------------------------------------------------------

292ab3ff201964ce45b49c40d0620a01e1a3162a
 labs/yocto-sdk-eclipse/yocto-sdk-eclipse.tex | 38 ++++++++++------------------
 1 file changed, 14 insertions(+), 24 deletions(-)

diff --git a/labs/yocto-sdk-eclipse/yocto-sdk-eclipse.tex b/labs/yocto-sdk-eclipse/yocto-sdk-eclipse.tex
index ce44a6d..5437c21 100644
--- a/labs/yocto-sdk-eclipse/yocto-sdk-eclipse.tex
+++ b/labs/yocto-sdk-eclipse/yocto-sdk-eclipse.tex
@@ -3,7 +3,6 @@ the Yocto Project SDK with Eclipse}
 
 During this lab, you will:
 \begin{itemize}
-  \item Set up the environment
   \item Integrate the Eclipse Yocto Project plugin
   \item Configure the plugin to work with the previously used Yocto project
   \item Develop and modify Poky from Eclipse
@@ -11,13 +10,14 @@ During this lab, you will:
 
 \section{Set up the environment}
 
-First we need to set up the environment, including cross-development tools, the
-Eclipse Yocto Project plugin and other tools, in order to be able to develop our
-applications. We need Poky to build support for Eclipse (an IDE). Try to
-find the right target in the output of the environment setup script. Then
-start the build with BitBake.
+First we need to set up the environment in order to be able to develop our
+applications. We need Poky to build support for Eclipse (an IDE). Run:
 
-\section{Install the Eclipse plugin}
+\begin{verbatim}
+bitbake meta-ide-support
+\end{verbatim}
+
+\section{Donwload Eclipse}
 
 Download the Kepler version of Eclipse on the official website:
 \url{http://www.eclipse.org/downloads/packages/eclipse-standard-432/keplersr2}.
@@ -28,8 +28,11 @@ able to use it properly:
 UBUNTU_MENUPROXY=0 ./eclipse
 \end{verbatim}
 
-You also need to download a few packages to fulfill the plugin requirements. Open
-\code{Install New Software} in the \code{Help} menu. Select the \code{Kepler -
+\section{Install the Eclipse plugin}
+
+First, you need to download a few packages to fulfill the Yocto
+Eclipse plugin requirements. Open \code{Install New Software} in the
+\code{Help} menu. Select the \code{Kepler -
 http://download.eclipse.org/releases/kepler} repository and install:
 \begin{itemize}
   \item LTTng - Linux Tracing Toolkit
@@ -45,6 +48,7 @@ You can then either choose to download the already built Eclipse Yocto Project
 plugin or to build your own by first downloading its source repository. We will
 here download the latest plugin available on the Yocto Project website directly
 from Eclipse.
+
 First add the Yocto Project Eclipse Update site to the available software sites:
 \url{http://downloads.yoctoproject.org/releases/eclipse-plugin/1.5.1/kepler}.
 Then download:
@@ -58,23 +62,9 @@ Finally, you need to set up the plugin itself. Open \code{Preferences} from the
 "Window" menu. Then click on \code{Yocto Project ADT} in the preference dialog.
 Choose \code{Build System Derived Toolchain}, set the \code{Toolchain Root
 Location} to your build directory and the \code{Sysroot Location} to the
-\code{tmp/sysroot/Beaglebone} directory of your build directory. Then select the
+\code{tmp/sysroot/beaglebone} directory of your build directory. Then select the
 \code{Target Architecture}. Apply and close, the plugin is set up!
 
-\section{Create an application project}
-
-Open \code{File} then \code{New} and select \code{C Project} under the
-\code{C/C++} category. Then choose \code{Hello World ANSI C Autotools
-Project} in the \code{Yocto Project ADT Autotools Project}. Fill the
-\code{Project name} input area, click \code{Next}, write your name as the
-\code{Author} and click \code{Finish}.
-
-\section{Build the application project}
-
-Click on \code{Build Project} in the \code{Project} menu. The application will
-be built in its directory (in the Eclipse workspace), so it is not included in
-the Poky image.
-
 \section{Create a recipe}
 
 The Yocto Project BitBake Commander Plug-in allows to fully manage the Yocto Project



More information about the training-materials-updates mailing list