[bootlin/training-materials updates] master: sysdev/kernel: building: Do not advise setting the env variables in bashrc (f5c362f5)

Miquel Raynal miquel.raynal at bootlin.com
Fri Dec 23 15:39:46 CET 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/f5c362f5ab5e14b63e2277d8db24e81820138a23

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

commit f5c362f5ab5e14b63e2277d8db24e81820138a23
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Fri Dec 23 15:39:43 2022 +0100

    sysdev/kernel: building: Do not advise setting the env variables in bashrc
    
    This does not help for pedagogical purposes.
    direnv might do almost the same, but more fine grained, which is better
    IMHO.
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


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

f5c362f5ab5e14b63e2277d8db24e81820138a23
 slides/sysdev-kernel-building/sysdev-kernel-building.tex | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/slides/sysdev-kernel-building/sysdev-kernel-building.tex b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
index e6002da7..c253fcf1 100644
--- a/slides/sysdev-kernel-building/sysdev-kernel-building.tex
+++ b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
@@ -99,13 +99,10 @@
     variables: \\
     \code{export ARCH=arm} \\
     \code{export CROSS_COMPILE=arm-linux-} \\
-    Drawback: it only works inside the current
-    shell or terminal. You could put these settings in a file
-    that you source every time you start working on the project.
-    If you only work on a single architecture with always the
-    same toolchain, you could even put these settings in your
-    \code{~/.bashrc} file to make them permanent and visible from
-    any terminal.
+    Drawback: it only works inside the current shell or terminal. You
+    could put these settings in a file that you source every time you
+    start working on the project, see also the
+    \url{https://direnv.net/} project.
   \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list