[FE training-materials-updates] buildroot/labs: use br2-external for advanced packages

Boris Brezillon boris.brezillon at free-electrons.com
Fri May 22 17:12:55 CEST 2015


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

On branch  : mtd-rework-WIP
Link       : http://git.free-electrons.com/training-materials/commit/?id=9fc32b14b338acc489b4d72822c4aeaf8067c537

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

commit 9fc32b14b338acc489b4d72822c4aeaf8067c537
Author: Yann E. MORIN <yann.morin.1998 at free.fr>
Date:   Sat May 9 19:26:54 2015 +0200

    buildroot/labs: use br2-external for advanced packages
    
    Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


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

9fc32b14b338acc489b4d72822c4aeaf8067c537
 .../buildroot-advanced-packages.tex                          | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/labs/buildroot-advanced-packages/buildroot-advanced-packages.tex b/labs/buildroot-advanced-packages/buildroot-advanced-packages.tex
index 3098eec..0ce701e 100644
--- a/labs/buildroot-advanced-packages/buildroot-advanced-packages.tex
+++ b/labs/buildroot-advanced-packages/buildroot-advanced-packages.tex
@@ -2,6 +2,7 @@
 {Advanced packaging}
 {Objectives:
   \begin{itemize}
+  \item Create a {\em \code{BR2_EXTERNAL}} tree
   \item Package an application with a mandatory dependency and an
     optional dependency
   \item Package a library, hosted on Github
@@ -10,6 +11,17 @@
   \end{itemize}
 }
 
+\section{Create a {\tt BR2\_EXTERNAL} tree}
+
+Create an empty directory outside the Buildroot tree, and add the
+files required for this directory to be a \code{BR2_EXTERNAL} tree.
+
+Configure Buildroot to use that directory as a \code{BR2_EXTERNAL};
+look in the \code{menuconfig} for what has changed.
+
+For the remainder of this lab, we will create and modify files
+exclusively in this \code{BR2_EXTERNAL} directory.
+
 \section{Start packaging application {\tt bar}}
 
 For the purpose of this training, we have created a completely stupid



More information about the training-materials-updates mailing list