[FE training-materials-updates] labs/buildroot-appdev: put the local.mk in BR2_EXTERNAL

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat May 23 09:12:37 CEST 2015

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

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


commit 7096095eebe5527c1ab7cae4c46371ad2e68d8e9
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Sat May 23 09:11:51 2015 +0200

    labs/buildroot-appdev: put the local.mk in BR2_EXTERNAL
    Suggested by Grégory.
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


 labs/buildroot-appdev/buildroot-appdev.tex | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/labs/buildroot-appdev/buildroot-appdev.tex b/labs/buildroot-appdev/buildroot-appdev.tex
index 64396d5..48d07d5 100644
--- a/labs/buildroot-appdev/buildroot-appdev.tex
+++ b/labs/buildroot-appdev/buildroot-appdev.tex
@@ -208,13 +208,17 @@ However, since we now want to do some active development on this
 application, we want to tell Buildroot to use a custom location. In
 the same lab, you did a Git clone of the \code{bar} Git repository, so
 we will simply point Buildroot to this clone location. In your
-Buildroot sources, created a file called \code{local.mk} that
+Buildroot external tree (\code{BR2_EXTERNAL}), create a file called
+\code{local.mk} that contains:
+Now, adjust the \code{BR2_PACKAGE_OVERRIDE_FILE} configuration option
+to \code{$(BR2_EXTERNAL)/local.mk} so that Buildroot reads your
+\code{local.mk} file from your \code{BR2_EXTERNAL} tree.
 Then, force the complete rebuild of the \code{bar} package:

More information about the training-materials-updates mailing list