[FE training-materials-updates] kernel: Remove advice about env setup script

Maxime Ripard maxime.ripard at free-electrons.com
Thu Oct 3 16:16:17 CEST 2013

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

On branch  : kernel-ng
Link       : http://git.free-electrons.com/training-materials/commit/?id=2610690d5096672abb4af0208d9ac66767a6abc8


commit 2610690d5096672abb4af0208d9ac66767a6abc8
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date:   Thu Oct 3 16:09:45 2013 +0200

    kernel: Remove advice about env setup script
    Like detailed in the slides, this setup has numerous drawbacks, being
      - not convenient to debug a single command line. You can't get the
        state of the environment from the history.
      - confusing that it doesn't work anymore when switching from one
        terminal to another.
    Just like we do in the slides, stay neutral, and just add a reminder
    that we need these variables set.
    Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>


 .../kernel-compiling-and-nfs-booting.tex           |   22 +++-----------------
 1 file changed, 3 insertions(+), 19 deletions(-)

diff --git a/labs/kernel-compiling-and-nfs-booting/kernel-compiling-and-nfs-booting.tex b/labs/kernel-compiling-and-nfs-booting/kernel-compiling-and-nfs-booting.tex
index 6d7d39a..c69d986 100644
--- a/labs/kernel-compiling-and-nfs-booting/kernel-compiling-and-nfs-booting.tex
+++ b/labs/kernel-compiling-and-nfs-booting/kernel-compiling-and-nfs-booting.tex
@@ -94,27 +94,11 @@ dpkg -L gcc-arm-linux-gnueabi
 \section{Kernel configuration}
-Set the \code{ARCH} and \code{CROSS_COMPILE} definitions for the \code{arm}
-platform and to use your cross-compiler.
-To reuse these settings in the future and in different terminals,
-we advise you to create an \code{env.sh} file in the parent directory,
-with the below contents:
-export ARCH=arm
-export CROSS_COMPILE=<cross-compiler-prefix>
-You can the load these definitions at any time by sourcing this file:
-source ../env.sh
 Configure this kernel with the ready-made configuration for boards in
 the OMAP2 and later family which the AM335x found in the BeagleBone
-belongs to.
+belongs to. Don't forget to set the \code{ARCH} and
+\code{CROSS_COMPILE} definitions for the \code{arm} platform and to
+use your cross-compiler.
 Make sure that this configuration has \code{CONFIG_ROOT_NFS=y} (support
 booting on an NFS exported root directory).

More information about the training-materials-updates mailing list