[FE training-materials-updates] yocto: labs: ask to set the machine only once
Antoine Ténart
antoine.tenart at free-electrons.com
Thu Mar 24 16:41:59 CET 2016
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=486edf4a7ed20f66add1a6c7dfc418478f0e4a15
>---------------------------------------------------------------
commit 486edf4a7ed20f66add1a6c7dfc418478f0e4a15
Author: Antoine Tenart <antoine.tenart at free-electrons.com>
Date: Thu Mar 24 10:23:17 2016 +0100
yocto: labs: ask to set the machine only once
Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>
>---------------------------------------------------------------
486edf4a7ed20f66add1a6c7dfc418478f0e4a15
labs/yocto-first-build/yocto-first-build.tex | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/labs/yocto-first-build/yocto-first-build.tex b/labs/yocto-first-build/yocto-first-build.tex
index 1476d48..206e235 100644
--- a/labs/yocto-first-build/yocto-first-build.tex
+++ b/labs/yocto-first-build/yocto-first-build.tex
@@ -55,10 +55,15 @@ source oe-init-build-env
\end{verbatim}
In order to choose the target and to configure the generic build settings,
-edit the local configuration file (\code{$BUILDDIR/conf/local.conf}). Set
-the target machine to \code{beaglebone} and update the parallelization variables
-(\code{BB_NUMBER_THREADS} and \code{PARALLEL_MAKE}) according to your computer
-capabilities.
+edit the local configuration file (\code{$BUILDDIR/conf/local.conf}).
+Update the parallelization variables (\code{BB_NUMBER_THREADS} and
+\code{PARALLEL_MAKE}) according to your computer capabilities.
+
+You must specify which machine is your target. By default it
+is \code{quemu}. We need to build an image for a \code{beaglebone}.
+Update the \code{MACHINE} configuration variable accordingly. Be
+careful, \code{beaglebone} is different from the \code{beagleboard}
+machine!
Also, if you need to save disk space on your computer you can add \code{INHERIT
+= "rm_work"} in the previous configuration file. This will remove the
@@ -68,12 +73,6 @@ Don't forget to make the configuration aware of the TI layer. Edit the
layer configuration file (\code{$BUILDDIR/conf/bblayers.conf}) and append the
full path to the \code{meta-ti} directory to the \code{BBLAYERS} variable.
-Finally, you must specify which machine is your target. By default it
-is \code{quemu}. We need to build an image for a \code{beaglebone}.
-Update the \code{MACHINE} configuration variable accordingly. Be
-careful, \code{beaglebone} is different from the \code{beagleboard}
-machine!
-
\section{Build your first image}
Now that you're ready to start the compilation, simply run:
More information about the training-materials-updates
mailing list