[BL training-materials-updates] yocto-first-build: Remove the build directory's creation into poky

Mylène Josserand mylene.josserand at bootlin.com
Fri Apr 27 10:14:56 CEST 2018


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

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

commit d3d9012f694d686ae010a374e856560a9f5188be
Author: Mylène Josserand <mylene.josserand at free-electrons.com>
Date:   Fri Apr 27 09:47:22 2018 +0200

    yocto-first-build: Remove the build directory's creation into poky
    
    This is not the first time that I got some trainees that do not
    understand (and get confused) when I repeat "do not edit poky"
    and that they need to edit the configuration of the "build" folder
    (because they see it under "poky" folder).
    
    Moreover, personally, I like to have the build folder in the same
    level than layers.
    
    Now, we will have:
         build/
         meta-felabs/
         meta-ti/
         poky/
    instead of
         meta-felabs/
         meta-ti/
         poky/build/
    
    which is more logical to me.
    
    Alex, Antoine, if you disagree with me, tell me why and it is
    still possible to revert this commit.
    
    Signed-off-by: Mylène Josserand <mylene.josserand at free-electrons.com>


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

d3d9012f694d686ae010a374e856560a9f5188be
 labs/yocto-first-build/yocto-first-build.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/labs/yocto-first-build/yocto-first-build.tex b/labs/yocto-first-build/yocto-first-build.tex
index ada50f7..28ba668 100644
--- a/labs/yocto-first-build/yocto-first-build.tex
+++ b/labs/yocto-first-build/yocto-first-build.tex
@@ -45,8 +45,8 @@ Check you're using Bash. This is the default shell when using Ubuntu.
 
 Export all needed variables and set up the build directory:
 \begin{verbatim}
-cd $HOME/yocto-labs/poky/
-source oe-init-build-env
+cd $HOME/yocto-labs
+source poky/oe-init-build-env
 \end{verbatim}
 
 You must specify which machine is your target. By default it




More information about the training-materials-updates mailing list